using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*
* @author : 刘文奇
* @date : 2024/4/23下午5:01:21
* @desc : 控制属性规则
*/
namespace Admin.NET.Core
{
///
/// 控制属性规则
///
[Table("wms_control_rule")]
[Comment("控制属性规则")]
public class WmsControlRule : DEntityBase
{
///
/// 规则编号
///
[Comment("规则编号")]
[Required]
[MaxLength(50)]
public string RuleCode { get; set; }
///
/// 规则名称
///
[Comment("规则名称")]
[Required]
[MaxLength(50)]
public string RuleName { get; set; }
///
/// 规则描述
///
[Comment("规则描述")]
[MaxLength(255)]
public string RuleDesc { get; set; }
///
/// 是否禁用
///
[Comment("是否禁用")]
[Required]
public bool IsDisabled { get; set; }
}
}