using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace ZR.Model.MES.wms
{
///
/// 库存结算明细
///
[SugarTable("wms_inventory_settlement_detail")]
public class WmsInventorySettlementDetail
{
///
///
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 结算单id
///
[SugarColumn(ColumnName = "settlement_id")]
public long SettlementId { get; set; }
///
/// 结算类型,1:月结,2:年结
///
[SugarColumn(ColumnName = "settlement_type")]
public int? SettlementType { get; set; }
///
/// 物料id
///
[SugarColumn(ColumnName = "item_id")]
public long ItemId { get; set; }
///
/// 编号
///
[SugarColumn(ColumnName = "item_no")]
public string ItemNo { get; set; }
///
/// 名称
///
[SugarColumn(ColumnName = "item_name")]
public string ItemName { get; set; }
///
/// 仓库id
///
[SugarColumn(ColumnName = "warehouse_id")]
public long? WarehouseId { get; set; }
///
/// 仓库编号
///
[SugarColumn(ColumnName = "warehouse_no")]
public string WarehouseNo { get; set; }
///
/// 仓库名称
///
[SugarColumn(ColumnName = "warehouse_name")]
public string WarehouseName { get; set; }
///
/// 库区id
///
[SugarColumn(ColumnName = "area_id")]
public long? AreaId { get; set; }
///
/// 库区编号
///
[SugarColumn(ColumnName = "area_no")]
public string AreaNo { get; set; }
///
/// 库区名称
///
[SugarColumn(ColumnName = "area_name")]
public string AreaName { get; set; }
///
/// 上期结存
///
[SugarColumn(ColumnName = "previous_balance")]
public decimal? PreviousBalance { get; set; }
///
/// 本期入库
///
[SugarColumn(ColumnName = "current_enter")]
public decimal? CurrentEnter { get; set; }
///
/// 本期出库
///
[SugarColumn(ColumnName = "current_out")]
public decimal? CurrentOut { get; set; }
///
/// 本期盘点
///
[SugarColumn(ColumnName = "current_check")]
public decimal? CurrentCheck { get; set; }
///
/// 本期结存
///
[SugarColumn(ColumnName = "current_balance")]
public decimal? CurrentBalance { get; set; }
///
/// 删除标识
/// 默认值: 0
///
[SugarColumn(ColumnName = "del_flag")]
public byte DelFlag { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public long? CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
///
/// 修改人
///
[SugarColumn(ColumnName = "update_by")]
public long? UpdateBy { get; set; }
///
/// 修改时间
///
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
}
}