using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; /* * @author : 刘文奇 * @date : 2024/4/24下午5:51:26 * @desc : 控制属性规则明细 */ namespace Admin.NET.Core { /// /// 控制属性规则明细 /// [Table("wms_control_rule_detail")] [Comment("控制属性规则明细")] public class WmsControlRuleDetail : DEntityBase { /// /// 控制属性规则编号 /// [Comment("控制属性规则编号")] [Required] [MaxLength(50)] public string RuleCode { get; set; } /// /// 控制属性规则名称 /// [Comment("控制属性规则名称")] [Required] [MaxLength(50)] public string RuleName { get; set; } /// /// 最高库存 /// [Comment("最高库存")] [Column("MaxImumqty", TypeName = "decimal(10,3)")] public decimal? MaxImumqty { get; set; } /// /// 最低库存 /// [Comment("最低库存")] [Column("MinImumqty", TypeName = "decimal(10,3)")] public decimal? MinImumqty { get; set; } /// /// 安全库存 /// [Comment("安全库存")] [Column("SafeImumqty", TypeName = "decimal(10,3)")] public decimal? SafeImumqty { get; set; } /// /// 最小库龄 /// [Comment("最小库龄")] [Column("MinStorageAge", TypeName = "decimal(10,3)")] public decimal? MinStorageAge { get; set; } /// /// 最大库龄 /// [Comment("最大库龄")] [Column("MaxStorageAge", TypeName = "decimal(10,3)")] public decimal? MaxStorageAge { get; set; } /// /// 是否免检 /// [Comment("是否免检")] public bool? IsNotChek { get; set; } /// /// 保质期天数 /// [Comment("保质期天数")] [Column("ShelfLifeDays", TypeName = "decimal(10,3)")] public decimal? ShelfLifeDays { get; set; } /// /// 是否禁用 /// [Comment("是否禁用")] [Required] public bool IsDisabled { get; set; } } }