using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("wms_outstock_detail")] [Serializable] public class WmsOutstockDetail : 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("pick_qty")] [DisplayName(" ")] public decimal PickQty { get; set; } [Column("out_qty")] [DisplayName(" ")] public decimal OutQty { 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("src_warehouse_id")] [DisplayName(" ")] public int? SrcWarehouseId { get; set; } [Column("src_warehouse_name")] [DisplayName(" ")] public string SrcWarehouseName { get; set; } [Column("src_zone_id")] [DisplayName(" ")] public int? SrcZoneId { get; set; } [Column("src_zone_name")] [DisplayName(" ")] public string SrcZoneName { get; set; } [Column("src_locate_id")] [DisplayName(" ")] public int? SrcLocateId { get; set; } [Column("src_locate_name")] [DisplayName(" ")] public string SrcLocateName { get; set; } [Column("src_erp_warehouse")] [DisplayName(" ")] public string SrcErpWarehouse { get; set; } [Column("ZVBELN")] [DisplayName(" ")] public string Zvbeln { get; set; } #region 扩展字段 [NotMapped] [Column("default_box_qty")] [DisplayName(" ")] public decimal DefaultBoxQty { get; set; } [NotMapped] [Column("item_status_desc")] [DisplayName(" ")] public string ItemStatusDesc { get; set; } [NotMapped] [Column("recommend_locate")] [DisplayName(" ")] public string RecommendLocate { get; set; } [NotMapped] [Column("customer_code")] [DisplayName(" ")] public string CustomerCode { get; set; } [NotMapped] [Column("order_type")] [DisplayName(" ")] public int? OrderType { get; set; } [NotMapped] [Column("vendor_code")] [DisplayName(" ")] public string VendorCode { get; set; } [NotMapped] [Column("vendor_name")] [DisplayName(" ")] public string VendorName { get; set; } [NotMapped] [Column("part_spec2")] [DisplayName(" ")] public string PartSpec2 { get; set; } [NotMapped] [Column("carton_num")] [DisplayName(" ")] public int? CartonNum { get; set; } #endregion } }