43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Process.Dto
|
|
{
|
|
/// <summary>
|
|
/// 控制策略字典查询对象
|
|
/// </summary>
|
|
public class ProcessControlStrategyDictQueryDto : PagerInfo
|
|
{
|
|
public string? StrategyCode { get; set; }
|
|
|
|
public string? StrategyName { get; set; }
|
|
}
|
|
|
|
/// <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; }
|
|
|
|
|
|
|
|
}
|
|
} |