using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("wms_instock_detail")] [Serializable] public class WmsInstockDetail : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("order_no")] [DisplayName(" ")] public string OrderNo { get; set; } [Column("item_no")] [DisplayName(" ")] public string ItemNo { get; set; } [Column("part_id")] [DisplayName(" ")] public int PartId { get; set; } [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [Column("part_spec")] [DisplayName(" ")] public string PartSpec { get; set; } [Column("qty")] [DisplayName(" ")] public decimal Qty { get; set; } [Column("rec_qty")] [DisplayName(" ")] public decimal RecQty { get; set; } [Column("unit")] [DisplayName(" ")] public string Unit { get; set; } [Column("plan_date")] [DisplayName(" ")] public string PlanDate { get; set; } [Column("plan_time")] [DisplayName(" ")] public string PlanTime { get; set; } [Column("item_status")] [DisplayName(" ")] public int ItemStatus { get; set; } [Column("dest_warehouse_id")] [DisplayName(" ")] public int? DestWarehouseId { get; set; } [Column("dest_warehouse_name")] [DisplayName(" ")] public string DestWarehouseName { get; set; } [Column("dest_zone_id")] [DisplayName(" ")] public int? DestZoneId { get; set; } [Column("dest_zone_name")] [DisplayName(" ")] public string DestZoneName { get; set; } [Column("dest_locate_id")] [DisplayName(" ")] public int? DestLocateId { get; set; } [Column("dest_locate_name")] [DisplayName(" ")] public string DestLocateName { get; set; } [Column("dest_erp_warehouse")] [DisplayName(" ")] public string DestErpWarehouse { get; set; } #region 扩展字段 [NotMapped] [Column("default_box_qty")] [DisplayName(" ")] public decimal DefaultBoxQty { get; set; } [NotMapped] [Column("order_type")] [DisplayName(" ")] public int OrderType { get; set; } [NotMapped] [Column("order_status")] [DisplayName(" ")] public int OrderStatus { get; set; } [NotMapped] [Column("item_status_desc")] [DisplayName(" ")] public string ItemStatusDesc { get; set; } [NotMapped] [Column("vendor_code")] [DisplayName(" ")] public string VendorCode { get; set; } #endregion } }