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_material_lot { [Key] [StringLength(20)] public string lot_nbr { get; set; } public decimal? lot_qty { get; set; } public DateTime create_date { get; set; } [Required] [StringLength(20)] public string part_nbr { get; set; } [Required] [StringLength(20)] public string supplier_code { get; set; } [StringLength(45)] public string orig_batch_nbr { get; set; } [Required] [StringLength(45)] public string workorder { get; set; } [Required] [StringLength(20)] public string schedule_nbr { get; set; } [Required] [StringLength(20)] public string wks_id { get; set; } [Required] [StringLength(10)] public string uom { get; set; } public decimal? lot_qty_remaining { get; set; } public decimal serial_requirement { get; set; } [Column("operator")] [StringLength(45)] public string _operator { get; set; } } }