using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("wms_purchase_detail")] [Serializable] public class WmsPurchaseDetail : 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("box_qty")] [DisplayName(" ")] public decimal BoxQty { get; set; } [Column("rec_box_qty")] [DisplayName(" ")] public decimal RecBoxQty { get; set; } [Column("snp_qty")] [DisplayName(" ")] public decimal SnpQty { get; set; } [Column("unit")] [DisplayName(" ")] public string Unit { get; set; } [Column("erp_warehouse")] [DisplayName(" ")] public string ErpWarehouse { get; set; } [Column("item_status")] [DisplayName(" ")] public int ItemStatus { get; set; } [Column("pick_up_tab")] [DisplayName(" ")] public string? PickUpTab { get; set; } #region [NotMapped] [Column("default_box_qty")] [DisplayName(" ")] public decimal DefaultBoxQty { get; set; } [NotMapped] [Column("vendor_id")] [DisplayName(" ")] public int VendorId { get; set; } [NotMapped] [Column("vendor_code")] [DisplayName(" ")] public string VendorCode { get; set; } [NotMapped] [Column("vendor_name")] [DisplayName(" ")] public string VendorName { get; set; } [NotMapped] [Column("se_date")] [DisplayName(" ")] public string SeDate { get; set; } [NotMapped] [Column("se_time")] [DisplayName(" ")] public string SeTime { get; set; } [NotMapped] [Column("dock")] [DisplayName(" ")] public string Dock { get; set; } [NotMapped] [Column("item_status_desc")] [DisplayName(" ")] public string ItemStatusDesc { get; set; } [Column("part_spec2")] [DisplayName(" ")] public string PartSpec2 { get; set; } #endregion } }