using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("wms_instock")] [Serializable] public class WmsInstock : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("order_no")] [DisplayName(" ")] public string OrderNo { get; set; } [Column("order_type")] [DisplayName(" ")] public int OrderType { get; set; } [Column("order_status")] [DisplayName(" ")] public int OrderStatus { get; set; } [Column("ref_order_no")] [DisplayName(" ")] public string RefOrderNo { get; set; } [Column("vendor_id")] [DisplayName(" ")] public int VendorId { get; set; } [Column("vendor_code")] [DisplayName(" ")] public string VendorCode { get; set; } [Column("customer_id")] [DisplayName(" ")] public int CustomerId { get; set; } [Column("customer_code")] [DisplayName(" ")] public string CustomerCode { get; set; } #region 扩展字段 [NotMapped] [Column("order_type_desc")] [DisplayName(" ")] public string OrderTypeDesc { get; set; } [NotMapped] [Column("order_status_desc")] [DisplayName(" ")] public string OrderStatusDesc { get; set; } [NotMapped] [Column("src_zone_id")] [DisplayName(" ")] public string SrcZoneId { get; set; } [NotMapped] [Column("src_zone_name")] [DisplayName(" ")] public string SrcZoneName { get; set; } [NotMapped] [Column("emp_no")] [DisplayName(" ")] public string EmpNo { get; set; } [NotMapped] [Column("qty")] [DisplayName(" ")] public string Qty { get; set; } [NotMapped] [Column("pick_qty")] [DisplayName(" ")] public string PickQty { get; set; } [NotMapped] [Column("out_qty")] [DisplayName(" ")] public string OutQty { get; set; } [NotMapped] [Column("rec_qty")] [DisplayName(" ")] public string RecQty { get; set; } [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("part_spec")] [DisplayName(" ")] public string PartSpec { get; set; } [NotMapped] [Column("vendor_name")] [DisplayName(" ")] public string VendorName { get; set; } [NotMapped] [Column("customer_name")] [DisplayName(" ")] public string CustomerName { get; set; } [NotMapped] [Column("row_count")] [DisplayName(" ")] public int RowCount { get; set; } [NotMapped] [Column("seq_num")] [DisplayName(" ")] public int SeqNum { get; set; } [NotMapped] [Column("row_range")] [DisplayName(" ")] public string RowRange { get; set; } [NotMapped] [Column("row_rign")] [DisplayName(" ")] public int RowRign { get; set; } #endregion } }