using Admin.NET.Core; using System.ComponentModel.DataAnnotations; namespace Admin.NET.Application; /// /// 批次属性规则明细基础输入参数 /// public class WmsBatchRuleDetailBaseInput { /// /// 规则编号 /// public virtual string RuleCode { get; set; } /// /// 规则名称 /// public virtual string RuleName { get; set; } /// /// 批次规则 /// public virtual Admin.NET.Application.BatchRuleEnum BatchRuleType { get; set; } /// /// 批次标签 /// public virtual string BatchTag { get; set; } /// /// 属性格式 /// public virtual Admin.NET.Application.AttrForamtEnum AttrForamt { get; set; } /// /// 属性选项 /// public virtual Admin.NET.Application.AttrOptionEnum? AttrOption { get; set; } /// /// 输入控制 /// public virtual Admin.NET.Application.InputControlEnum InputControl { get; set; } /// /// 优先级 /// public virtual Admin.NET.Application.PriorityEnum? Priority { get; set; } /// /// RF标签 /// public virtual string RFTag { get; set; } /// /// RF显示 /// public virtual bool? RFShow { get; set; } /// /// 关键属性 /// public virtual string KeyAttr { get; set; } /// /// 规则描述 /// public virtual string RuleDesc { get; set; } /// /// 是否禁用 /// public virtual bool IsDisabled { get; set; } /// /// 创建时间 /// public virtual DateTime? CreateTime { get; set; } /// /// 修改时间 /// public virtual DateTime? UpdateTime { get; set; } /// /// 创建人Id /// public virtual long? CreateUserId { get; set; } /// /// 创建人 /// public virtual string CreateUserName { get; set; } /// /// 修改人Id /// public virtual long? UpdateUserId { get; set; } /// /// 修改人 /// public virtual string UpdateUserName { get; set; } /// /// 软删除 /// public virtual bool IsDelete { get; set; } } /// /// 批次属性规则明细分页查询输入参数 /// public class WmsBatchRuleDetailInput : BasePageInput { /// /// 关键字查询 /// public string? SearchKey { get; set; } /// /// 规则编号 /// public string? RuleCode { get; set; } /// /// 规则编号-精准查询-ly /// public string? RuleCodeAccurate { get; set; } /// /// 规则名称 /// public string? RuleName { get; set; } /// /// 批次规则 /// public Admin.NET.Application.BatchRuleEnum? BatchRuleType { get; set; } /// /// 批次标签 /// public string? BatchTag { get; set; } /// /// 属性格式 /// public Admin.NET.Application.AttrForamtEnum? AttrForamt { get; set; } /// /// 属性选项 /// public Admin.NET.Application.AttrOptionEnum? AttrOption { get; set; } /// /// 输入控制 /// public Admin.NET.Application.InputControlEnum? InputControl { get; set; } /// /// 优先级 /// public Admin.NET.Application.PriorityEnum? Priority { get; set; } /// /// RF标签 /// public string? RFTag { get; set; } /// /// RF显示 /// public bool? RFShow { get; set; } /// /// 关键属性 /// public string? KeyAttr { get; set; } /// /// 规则描述 /// public string? RuleDesc { get; set; } /// /// 是否禁用 /// public bool? IsDisabled { get; set; } } /// /// 批次属性规则明细增加输入参数 /// public class AddWmsBatchRuleDetailInput : WmsBatchRuleDetailBaseInput { /// /// 规则编号 /// [Required(ErrorMessage = "规则编号不能为空")] public override string RuleCode { get; set; } /// /// 规则名称 /// [Required(ErrorMessage = "规则名称不能为空")] public override string RuleName { get; set; } /// /// 批次规则 /// [Required(ErrorMessage = "批次规则不能为空")] public override Admin.NET.Application.BatchRuleEnum BatchRuleType { get; set; } /// /// 属性格式 /// [Required(ErrorMessage = "属性格式不能为空")] public override Admin.NET.Application.AttrForamtEnum AttrForamt { get; set; } /// /// 输入控制 /// [Required(ErrorMessage = "输入控制不能为空")] public override Admin.NET.Application.InputControlEnum InputControl { get; set; } /// /// 是否禁用 /// [Required(ErrorMessage = "是否禁用不能为空")] public override bool IsDisabled { get; set; } /// /// 软删除 /// [Required(ErrorMessage = "软删除不能为空")] public override bool IsDelete { get; set; } } /// /// 批次属性规则明细删除输入参数 /// public class DeleteWmsBatchRuleDetailInput : BaseIdInput { public string ruleCode { get; set; } } /// /// 批次属性规则明细更新输入参数 /// public class UpdateWmsBatchRuleDetailInput : AddWmsBatchRuleDetailInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } /// /// 批次属性规则明细主键查询输入参数 /// public class QueryByIdWmsBatchRuleDetailInput : DeleteWmsBatchRuleDetailInput { }