38 lines
855 B
C#
38 lines
855 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ZR.Model.MES.andon.Dto
|
|
{
|
|
/// <summary>
|
|
/// 报警区域表查询对象
|
|
/// </summary>
|
|
public class AndonAlarmAreaQueryDto : PagerInfo
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 报警区域表输入输出对象
|
|
/// </summary>
|
|
public class AndonAlarmAreaDto
|
|
{
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
public int Id { get; set; }
|
|
|
|
public int? ParentId { get; set; }
|
|
|
|
public string Area { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
}
|
|
|
|
public class AlarmAreaPullDownDto
|
|
{
|
|
public string label { get; set; }
|
|
public int value { get; set; }
|
|
}
|
|
} |