2025-12-20 13:34:43 +08:00
|
|
|
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; }
|
2025-12-20 14:30:04 +08:00
|
|
|
}
|
2025-12-20 13:34:43 +08:00
|
|
|
|
2025-12-20 14:30:04 +08:00
|
|
|
public class AlarmAreaPullDownDto
|
|
|
|
|
{
|
|
|
|
|
public string label { get; set; }
|
|
|
|
|
public int value { get; set; }
|
2025-12-20 13:34:43 +08:00
|
|
|
}
|
|
|
|
|
}
|