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 cfg_time_cnstrnt_by_wo { [Key] [Column(Order = 0)] [StringLength(45)] public string workorder { get; set; } [Key] [Column(Order = 1)] [StringLength(20)] public string wks_type { get; set; } [Required] [StringLength(20)] public string constraint_type { get; set; } public int constraint_time { get; set; } [Required] [StringLength(20)] public string uom { get; set; } [StringLength(30)] public string comments { get; set; } [Required] [StringLength(5)] public string active_flag { get; set; } } }