zhuangpei-mesbackend/MDM/Models/Process/Dto/ProcessControlStrategyDictDto.cs

43 lines
1.0 KiB
C#
Raw Normal View History

2025-11-15 14:33:00 +08:00
using System.ComponentModel.DataAnnotations;
2025-11-16 15:16:51 +08:00
namespace MDM.Model.Process.Dto
2025-11-15 14:33:00 +08:00
{
/// <summary>
/// 控制策略字典查询对象
/// </summary>
public class ProcessControlStrategyDictQueryDto : PagerInfo
{
2025-11-18 14:49:40 +08:00
public string StrategyCode { get; set; }
public string StrategyName { get; set; }
2025-11-15 14:33:00 +08:00
}
/// <summary>
/// 控制策略字典输入输出对象
/// </summary>
public class ProcessControlStrategyDictDto
{
[Required(ErrorMessage = "id不能为空")]
public int StrategyId { get; set; }
[Required(ErrorMessage = "策略code不能为空")]
public string StrategyCode { get; set; }
public string StrategyName { get; set; }
public string Description { get; set; }
public int? IsActive { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}