zhuangpei-mesbackend/DOAN.Model/MES/base/Dto/BaseWorkStationDto.cs

109 lines
2.3 KiB
C#
Raw Normal View History

2024-07-08 16:08:01 +08:00
using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.base_.Dto
{
/// <summary>
/// 工位查询对象
/// </summary>
public class BaseWorkStationQueryDto : PagerInfo
{
2024-07-08 17:06:57 +08:00
public string WorkStationDescription { get; set; }
2024-07-08 17:06:57 +08:00
public int? Status { get; set; }
2024-07-08 16:08:01 +08:00
}
2024-08-12 20:13:14 +08:00
public class BaseWorkStationQueryDto2 : PagerInfo
{
public int route_id { get; set; }
}
2024-07-08 16:08:01 +08:00
/// <summary>
/// 工位输入输出对象
/// </summary>
public class BaseWorkStationDto
{
[Required(ErrorMessage = "主键不能为空")]
public int Id { get; set; }
public int? FkWorkProcesses { get; set; }
public string DictWorkType { get; set; }
public string WorkStationDescription { get; set; }
2024-07-08 17:06:57 +08:00
public List<BaseDevice> BindedDeviceArray { get; set; }
2024-07-08 17:06:57 +08:00
2024-07-08 16:08:01 +08:00
public int? Status { get; set; }
public string Remark { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
2024-07-18 15:00:34 +08:00
}
public class BaseWorkStationDto3
{
/// <summary>
/// 1 被选中 0 未选中
/// </summary>
public int flag { get; set; }
public int Id { get; set; }
public int? FkWorkProcesses { get; set; }
public string DictWorkType { get; set; }
public string WorkStationDescription { get; set; }
public int? Status { get; set; }
public string Remark { get; set; }
2024-07-08 17:33:51 +08:00
}
/// <summary>
/// 添加工位和修改工位使用
/// </summary>
public class BaseWorkStationDto2
{
[Required(ErrorMessage = "主键不能为空")]
public int Id { get; set; }
public int? FkWorkProcesses { get; set; }
public string DictWorkType { get; set; }
public string WorkStationDescription { get; set; }
public int[] BindedDeviceArray { get; set; }
public int? Status { get; set; }
public string Remark { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
2024-07-08 16:08:01 +08:00
}
}