using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_buy_day_fact")] [Serializable] public class GBuyDayFact : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("order_no")] [DisplayName(" ")] public string OrderNo { get; set; } [Column("weekly_order_no")] [DisplayName(" ")] public string WeeklyOrderNo { get; set; } [Column("type_id")] [DisplayName(" ")] public int TypeId { get; set; } [Column("buy_no")] [DisplayName(" ")] public string BuyNo { get; set; } [Column("vendor_id")] [DisplayName(" ")] public int VendorId { get; set; } [Column("se_date")] [DisplayName(" ")] public string SeDate { get; set; } [Column("part_id")] [DisplayName(" ")] public int PartId { get; set; } [Column("lot_no")] [DisplayName(" ")] public string LotNo { get; set; } [Column("qty")] [DisplayName(" ")] public int Qty { get; set; } [Column("snp_qty")] [DisplayName(" ")] public int SnpQty { get; set; } [Column("carton_qty")] [DisplayName(" ")] public int CartonQty { get; set; } [Column("rec_qty")] [DisplayName(" ")] public int RecQty { get; set; } [Column("rec_carton_qty")] [DisplayName(" ")] public int RecCartonQty { get; set; } [Column("diff_qty")] [DisplayName(" ")] public int DiffQty { get; set; } [Column("status")] [DisplayName(" ")] public string Status { get; set; } [Column("type")] [DisplayName(" ")] public string Type { get; set; } [Column("is_closed")] [DisplayName(" ")] public string IsClosed { get; set; } [Column("factory_id")] [DisplayName(" ")] public int FactoryId { get; set; } #region 扩展字段 [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("part_spec")] [DisplayName(" ")] public string PartSpec { get; set; } [NotMapped] [Column("type_name")] [DisplayName(" ")] public string TypeName { get; set; } [NotMapped] [Column("vendor_name")] [DisplayName(" ")] public string VendorName { get; set; } [NotMapped] [Column("factory_name")] [DisplayName(" ")] public string FactoryName { get; set; } [NotMapped] [Column("day_status")] [DisplayName(" ")] public string DayStatus { get; set; } [NotMapped] [Column("day_type")] [DisplayName(" ")] public string DayType { get; set; } #endregion } }