1
This commit is contained in:
51
ZR.Model/MES/andon/AndonAlarmArea.cs
Normal file
51
ZR.Model/MES/andon/AndonAlarmArea.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
namespace ZR.Model.MES.andon
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警区域表
|
||||
/// </summary>
|
||||
[SugarTable("andon_alarm_area")]
|
||||
public class AndonAlarmArea
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 父ID
|
||||
/// </summary>
|
||||
public int? ParentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 区域名称
|
||||
/// </summary>
|
||||
public string Area { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "created_by")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "created_time")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "updated_by")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "updated_time")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
35
ZR.Model/MES/andon/Dto/AndonAlarmAreaDto.cs
Normal file
35
ZR.Model/MES/andon/Dto/AndonAlarmAreaDto.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user