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 { /// /// 托盘库位关系表 /// [Table("ware_container_vs_material")] [Comment("托盘库位关系表")] public class WareContainerVsMaterial:DEntityBase { /// /// 容器Code /// [Comment("容器Code")] public string WareContainerCode { get; set; } /// /// 物料表代码 /// [Comment("物料表代码")] public string WareMaterialCode { get; set; } /// /// 物料数量 /// [Comment("物料数量")] [Column("Quantity", TypeName = "decimal(20,6)")] public decimal? Quantity { get; set; } /// /// 采购单号(PO) /// [Comment("采购单号(PO)")] public string PurchaseNo { get; set; } /// /// 送货单号 /// [Comment("送货单号")] public string DeliveryNo { get; set; } /// /// 收货单 /// [Comment("收货单")] public string CollectNo { get; set; } /// /// 入库单 /// [Comment("入库单")] public string OrdersNo { get; set; } /// /// 状态-正常_0、停用_1、删除_2 /// [Comment("状态-正常_0、停用_1、删除_2")] public int? Status { get; set; } /// /// 备注 /// [Comment("备注")] public string Remarks { get; set; } /// /// 库存状态 0 空,1执行中 ,2入库完成 /// [Comment("库存状态 0 空,1执行中 ,2入库完成")] public StockStatusEnum? StockStatus { get; set; } /// /// 是否锁定 /// [Comment("是否锁定")] public bool IsLocked { get; set; } /// /// 单价 /// [Comment("单价")] public decimal? Price { get; set; } /// /// 批次 /// [Comment("批次")] public string BarNo { get; set; } /// /// 单据类型 /// [Comment("单据类型")] public string OrderType { get; set; } /// /// 单位 /// public string Unit { get; set; } /// /// 物料名称 /// public string WareMaterialName { get; set; } } }