using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_vw_order_detail")] [Serializable] public class GVwOrderDetail : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("order_id")] [DisplayName("排序单编号")] public int OrderId { get; set; } [Column("list_elno")] [DisplayName("零件号清单")] public string ListElno { get; set; } [Column("is_charge")] [DisplayName(" ")] public string IsCharge { get; set; } [Column("serial_number")] [DisplayName(" ")] public string SerialNumber { get; set; } [Column("shipping_sn")] [DisplayName(" ")] public string ShippingSn { get; set; } [Column("stock_sn")] [DisplayName(" ")] public string StockSn { get; set; } [Column("tray_seq")] [DisplayName(" ")] public int? TraySeq { get; set; } [Column("tray_no")] [DisplayName(" ")] public string TrayNo { get; set; } [Column("tray_flag")] [DisplayName(" ")] public int? TrayFlag { get; set; } [Column("status")] [DisplayName("匹配状态(-1=匹配错误,0=未匹配,1=匹配成功,2=已释放,3=已放空)")] public int Status { get; set; } [Column("arrange_flag")] [DisplayName(" ")] public string ArrangeFlag { get; set; } [Column("package_unit_number")] [DisplayName(" ")] public string PackageUnitNumber { get; set; } [Column("consumption_point")] [DisplayName(" ")] public string ConsumptionPoint { 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("part_location")] [DisplayName(" ")] public string PartLocation { get; set; } [NotMapped] [Column("type_name")] [DisplayName(" ")] public string TypeName { get; set; } [NotMapped] [Column("color")] [DisplayName(" ")] public string Color { get; set; } [NotMapped] [Column("order_seq")] [DisplayName(" ")] public string OrderSeq { get; set; } [NotMapped] [Column("car_no")] [DisplayName(" ")] public string CarNo { get; set; } [NotMapped] [Column("vin")] [DisplayName(" ")] public string Vin { get; set; } [NotMapped] [Column("enum_desc")] [DisplayName(" ")] public string EnumDesc { get; set; } [NotMapped] [Column("date_ymd")] [DisplayName(" ")] public string DateYmd { get; set; } [NotMapped] [Column("order_number_1")] [DisplayName(" ")] public string OrderNumber1 { get; set; } [NotMapped] [Column("order_number_2")] [DisplayName(" ")] public string OrderNumber2 { get; set; } [NotMapped] [Column("car_name")] [DisplayName(" ")] public string CarName { get; set; } #endregion } }