using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("mes_work_order")] [Serializable] public class MesWorkOrder : BaseEntity { [Column("ruid")] [DisplayName(" ")] public long 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("order_seq")] [DisplayName(" ")] public long OrderSeq { get; set; } [Column("part_id")] [DisplayName(" ")] public long 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("complete_qty")] [DisplayName(" ")] public decimal? CompleteQty { get; set; } [Column("order_source")] [DisplayName(" ")] public string OrderSource { get; set; } [Column("pdline_id")] [DisplayName(" ")] public int? PdlineId { get; set; } [Column("pdline_code")] [DisplayName(" ")] public string PdlineCode { get; set; } [Column("station_code")] [DisplayName(" ")] public string StationCode { get; set; } [Column("shift_code")] [DisplayName(" ")] public string ShiftCode { get; set; } [Column("start_date")] [DisplayName(" ")] public DateTime? StartDate { get; set; } [Column("close_date")] [DisplayName(" ")] public DateTime? CloseDate { get; set; } [Column("customer_id")] [DisplayName(" ")] public int? CustomerId { get; set; } [Column("customer_code")] [DisplayName(" ")] public string CustomerCode { get; set; } [Column("cust_order_no")] [DisplayName(" ")] public string CustOrderNo { get; set; } [Column("cust_part_no")] [DisplayName(" ")] public string CustPartNo { get; set; } [Column("vin_code")] [DisplayName(" ")] public string VinCode { get; set; } [Column("vehicle_no")] [DisplayName(" ")] public string VehicleNo { get; set; } [Column("vehicle_name")] [DisplayName(" ")] public string VehicleName { get; set; } [Column("serial_number")] [DisplayName(" ")] public string SerialNumber { get; set; } [Column("cust_serial_number")] [DisplayName(" ")] public string CustSerialNumber { get; set; } [Column("route_id")] [DisplayName(" ")] public int? RouteId { get; set; } [Column("start_process_id")] [DisplayName(" ")] public int? StartProcessId { get; set; } [Column("end_process_id")] [DisplayName(" ")] public int? EndProcessId { get; set; } [Column("print_date")] [DisplayName(" ")] public DateTime? PrintDate { get; set; } [Column("printed")] [DisplayName(" ")] public int? Printed { get; set; } [Column("reprint_count")] [DisplayName(" ")] public int? ReprintCount { get; set; } [Column("pull_status")] [DisplayName(" ")] public int? PullStatus { get; set; } [Column("order_rule")] [DisplayName(" ")] public string OrderRule { get; set; } [Column("order_version")] [DisplayName(" ")] public string OrderVersion { get; set; } [Column("remark")] [DisplayName(" ")] public string Remark { get; set; } [Column("car_no")] [DisplayName(" ")] public string CarNo { get; set; } [Column("move_group_no")] [DisplayName(" ")] public string MoveGroupNo { get; set; } } }