设备管理
This commit is contained in:
75
ZR.Model/MES/Device/Dto/DeviceInspectDto.cs
Normal file
75
ZR.Model/MES/Device/Dto/DeviceInspectDto.cs
Normal file
@@ -0,0 +1,75 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model;
|
||||
|
||||
namespace ZR.Model.MES.dev.Dto
|
||||
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备检查项查询对象
|
||||
/// </summary>
|
||||
public class DeviceInspectQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public int Status { get; set; }
|
||||
|
||||
public int Type { get; set; }
|
||||
}
|
||||
public class DeviceInspectQueryDto2 : PagerInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备台账ID
|
||||
/// </summary>
|
||||
public int FkAccountId { get; set; }
|
||||
/// <summary>
|
||||
/// 检查项名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定/未绑定
|
||||
/// </summary>
|
||||
public int Isbind { get; set; }
|
||||
|
||||
public int Type { get; set; }
|
||||
|
||||
}
|
||||
public class DeviceInspectQueryDto3
|
||||
{
|
||||
public int account_id { get; set; }
|
||||
public List<int> inspect_ids { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备检查项输入输出对象
|
||||
/// </summary>
|
||||
public class DeviceInspectDto
|
||||
{
|
||||
// [Required(ErrorMessage = "id不能为空")]
|
||||
public int Id { get; set; }
|
||||
public string Image { get; set; }
|
||||
|
||||
public int? Type { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public int Status { get; set; }
|
||||
|
||||
public string Descride { get; set; }
|
||||
|
||||
public string Name { 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