using iWare.Wms.Core.Enum; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace iWare.Wms.Core { [Comment("记录流水单")] [Table("ware_flow_record")] public class WareFlowRecord : DEntityBase { /// /// 流水类型,0-入库,1-出库,2-组盘,3-解绑 /// [Comment("流水类型")] public int RecordType { get; set; } /// /// 库区 /// [Comment("库区")] public string ReservoirArea { get; set; } /// /// 条码 /// [Comment("条码")] public string BarCode { get; set; } /// /// 原库位代码 /// [Comment("起始库位代码")] public string SourceWareLocationCode { get; set; } /// /// 原库位代码 /// [Comment("目标库位代码")] public string ToWareLocationCode { get; set; } /// /// 载具代码 /// [Comment("载具代码")] public string WareContainerCode { get; set; } /// /// 载具名称 /// [Comment("载具名称")] public string WareContainerName { get; set; } /// /// 物料代码 /// [Comment("物料代码")] public string WareMaterialCode { get; set; } /// /// 物料名称 /// [Comment("物料名称")] public string WareMaterialName { get; set; } /// /// 物料数量 /// [Comment("物料数量")] public decimal? Quantity { get; set; } /// /// 状态-正常_0、停用_1、删除_2 /// [Comment("状态-正常_0、停用_1、删除_2")] public CommonStatus Status { get; set; } = CommonStatus.ENABLE; /// /// 备注 /// [Comment("备注")] public string Remarks { get; set; } } }