namespace Warehouse.Models.mesModel { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class wo_mfg { [Key] [StringLength(45)] public string workorder { get; set; } [Required] [StringLength(10)] public string area_code { get; set; } [Required] [StringLength(20)] public string product_code { get; set; } [Required] [StringLength(5)] public string workorder_type { get; set; } [Required] [StringLength(45)] public string sale_order { get; set; } //add by xue lei on 2019-12-6 [StringLength(20)] public string OEMcustomer { get; set; } [Required] [StringLength(20)] public string customer { get; set; } [Required] [StringLength(5)] public string wo_status { get; set; } public int plan_qty { get; set; } public int target_qty { get; set; } public int warnning_qty { get; set; } public int sn_qty { get; set; } public byte pack_qty { get; set; } public DateTime create_date { get; set; } [Required] [StringLength(20)] public string create_user { get; set; } public short? power_grade_group_id { get; set; } [StringLength(45)] public string workorder_ex { get; set; } [Column(TypeName = "date")] public DateTime plan_date { get; set; } [StringLength(20)] public string cell_supplier_code { get; set; } [StringLength(20)] public string cell_supplier_desc { get; set; } public byte? container_threshold { get; set; } [StringLength(10)] public string good_product_grade { get; set; } [StringLength(20)] public string mod_color { get; set; } [StringLength(20)] public string mod_type { get; set; } [StringLength(20)] public string busbar_type { get; set; } [StringLength(20)] public string cell_type { get; set; } [StringLength(20)] public string cell_qty { get; set; } [StringLength(20)] public string crys_type { get; set; } //add by xue lei on 2019-12-6 public short? max_power_grade { get; set; } public DateTime finish_time { get; set; } [StringLength(20)] public string Order_Type { get; set; } } }