using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,part_no /// [Table("g_order")] [Serializable] public class GOrder : BaseEntity { [Column("order_id")] [DisplayName("排序单的系统编号")] public int OrderId { get; set; } [Column("factory_id")] [DisplayName("厂区编号")] public int? FactoryId { get; set; } [Column("model_part_id")] [DisplayName("配置编号")] public int? ModelPartId { get; set; } [Column("order_seq")] [DisplayName("客户流水号")] public string OrderSeq { get; set; } [Column("cust_pdline")] [DisplayName("客户生产线")] public string CustPdline { get; set; } [Column("status")] [DisplayName("匹配状态(-1=匹配错误,0=未匹配,1=匹配成功,2=已释放,3=已放空)")] public int Status { get; set; } [Column("ship_status")] [DisplayName("发运状态(0:未绑定 1:已绑定 6:已发运)")] public int? ShipStatus { get; set; } [Column("error_message")] [DisplayName("错误信息")] public string ErrorMessage { get; set; } [Column("car_no")] [DisplayName("车号")] public string CarNo { get; set; } [Column("cur_time")] [DisplayName(" ")] public string CurTime { get; set; } [Column("vin")] [DisplayName(" ")] public string Vin { get; set; } [Column("print_car_no")] [DisplayName(" ")] public string PrintCarNo { get; set; } [Column("print_number")] [DisplayName(" ")] public string PrintNumber { get; set; } [Column("tray_no")] [DisplayName(" ")] public string TrayNo { get; set; } [Column("count")] [DisplayName(" ")] public int? Count { get; set; } #region 扩展字段 [NotMapped] [Column("part_no")] [DisplayName(" ")] public string PartNo { get; set; } [NotMapped] [Column("part_spec2")] [DisplayName(" ")] public string PartSpec2 { get; set; } [NotMapped] [Column("release_status")] [DisplayName(" ")] public string ReleaseStatus { get; set; } [NotMapped] [Column("part_class")] [DisplayName(" ")] public string PartClass { get; set; } [NotMapped] [Column("type_name")] [DisplayName(" ")] public string TypeName { get; set; } [NotMapped] [Column("FALSE")] [DisplayName(" ")] public string FALSE { get; set; } [NotMapped] [Column("order_number_1")] [DisplayName(" ")] public string OrderNumber1 { get; set; } [NotMapped] [Column("date_ymd")] [DisplayName(" ")] public string DateYmd { get; set; } [NotMapped] [Column("model_name")] [DisplayName(" ")] public string ModelName { get; set; } [NotMapped] [Column("is_charge")] [DisplayName(" ")] public string IsCharge { get; set; } #endregion } }