namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class wms_base_control_rule { [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } [Required] [StringLength(50)] public string RuleCode { get; set; } [Required] [StringLength(255)] public string RuleName { get; set; } public decimal? MaxImumqty { get; set; } public decimal? MinImumqty { get; set; } public decimal? SafeImumqty { get; set; } public decimal? MinStorageAge { get; set; } public decimal? MaxStorageAge { get; set; } public bool? IsNotChek { get; set; } public decimal? ShelfLifeDays { get; set; } public bool IsDisabled { get; set; } public DateTime? CreateTime { get; set; } public DateTime? UpdateTime { get; set; } public long? CreateUserId { get; set; } [StringLength(64)] public string CreateUserName { get; set; } public long? UpdateUserId { get; set; } [StringLength(64)] public string UpdateUserName { get; set; } public bool IsDelete { get; set; } } }