Files
shgx_tz_mes_backend_sync/ZR.Model/MES/wms/WmsInventorySettlementDetail.cs

133 lines
4.1 KiB
C#
Raw Normal View History

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