using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("g_workorder_base")] [Serializable] public class GWorkorderBase : BaseEntity { [Column("ruid")] [DisplayName(" ")] public int Ruid { get; set; } [Column("workorder_no")] [DisplayName(" ")] public string WorkorderNo { get; set; } [Column("wo_type")] [DisplayName(" ")] public string WoType { get; set; } [Column("wo_rule")] [DisplayName(" ")] public string WoRule { get; set; } [Column("version")] [DisplayName(" ")] public string Version { get; set; } [Column("target_qty")] [DisplayName(" ")] public decimal? TargetQty { get; set; } [Column("wo_create_date")] [DisplayName(" ")] public DateTime? WoCreateDate { get; set; } [Column("wo_schedule_date")] [DisplayName(" ")] public DateTime? WoScheduleDate { get; set; } [Column("wo_start_date")] [DisplayName(" ")] public DateTime? WoStartDate { get; set; } [Column("wo_close_date")] [DisplayName(" ")] public DateTime? WoCloseDate { get; set; } [Column("route_id")] [DisplayName(" ")] public int? RouteId { get; set; } [Column("input_qty")] [DisplayName(" ")] public decimal? InputQty { get; set; } [Column("output_qty")] [DisplayName(" ")] public decimal? OutputQty { get; set; } [Column("work_flag")] [DisplayName(" ")] public string WorkFlag { get; set; } [Column("wo_status")] [DisplayName(" ")] public string WoStatus { get; set; } [Column("default_pdline_id")] [DisplayName(" ")] public int? DefaultPdlineId { get; set; } [Column("start_process_id")] [DisplayName(" ")] public int? StartProcessId { get; set; } [Column("end_process_id")] [DisplayName(" ")] public int? EndProcessId { get; set; } [Column("customer_id")] [DisplayName(" ")] public int? CustomerId { get; set; } [Column("po_no")] [DisplayName(" ")] public string PoNo { get; set; } [Column("remark")] [DisplayName(" ")] public string Remark { get; set; } [Column("release_date")] [DisplayName(" ")] public DateTime? ReleaseDate { get; set; } [Column("model_id")] [DisplayName(" ")] public int? ModelId { get; set; } [Column("wo_due_date")] [DisplayName(" ")] public DateTime? WoDueDate { get; set; } [Column("factory_id")] [DisplayName(" ")] public int? FactoryId { get; set; } [Column("so_no")] [DisplayName(" ")] public string SoNo { get; set; } [Column("burnin_time")] [DisplayName(" ")] public decimal? BurninTime { get; set; } [Column("scrap_qty")] [DisplayName(" ")] public int? ScrapQty { get; set; } [Column("erp_qty")] [DisplayName(" ")] public int? ErpQty { get; set; } [Column("master_wo")] [DisplayName(" ")] public string MasterWo { get; set; } [Column("part_id")] [DisplayName(" ")] public int? PartId { get; set; } [Column("shift_id")] [DisplayName(" ")] public int? ShiftId { get; set; } } }