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 pack_pallets { [Key] [StringLength(30)] public string pallet_nbr { get; set; } [Required] [StringLength(20)] public string wks_id { get; set; } public byte pallet_qty { get; set; } public DateTime pack_date { get; set; } [Required] [StringLength(20)] public string product_code { get; set; } [Required] [StringLength(45)] public string workorder { get; set; } [Required] [StringLength(20)] public string mark_label { get; set; } public short power_grade { get; set; } [Required] [StringLength(10)] public string final_grade { get; set; } [StringLength(10)] public string current_grade { get; set; } public short? cell_color { get; set; } //[StringLength(45)] //public string cell_color { get; set; } public short? tpt_type { get; set; } public byte? is_bond { get; set; } [StringLength(20)] public string bonded_code { get; set; } [StringLength(20)] public string pitch_hole { get; set; } [StringLength(20)] public string jbox_type { get; set; } public short cell_crys_type_id { get; set; } //[StringLength(45)] //public string cell_crys_type_id { get; set; } public byte pallet_status { get; set; } [StringLength(20)] public string container_nbr { get; set; } [StringLength(20)] public string shelve_code { get; set; } [StringLength(45)] public string workorder_original { get; set; } [Required] [StringLength(100)] public string packrule_string { get; set; } [StringLength(20)] public string product_code_original { get; set; } public byte? shift_type { get; set; } public short? power_grade_group_id { get; set; } [StringLength(20)] public string mod_color { get; set; } public DateTime? end_time { get; set; } [StringLength(50)] public string check_nbr { get; set; } public byte pallet_station { get; set; } [StringLength(40)] public string frame_length_desc { get; set; } [StringLength(20)] public string oba_spot_check { get; set; } public static implicit operator pack_pallets(List v) { throw new NotImplementedException(); } } }