109 lines
2.3 KiB
C#
109 lines
2.3 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DOAN.Model.MES.base_.Dto
|
|
{
|
|
/// <summary>
|
|
/// 工位查询对象
|
|
/// </summary>
|
|
public class BaseWorkStationQueryDto : PagerInfo
|
|
{
|
|
public string WorkStationDescription { get; set; }
|
|
public int? Status { get; set; }
|
|
|
|
}
|
|
|
|
public class BaseWorkStationQueryDto2 : PagerInfo
|
|
{
|
|
public int route_id { get; set; }
|
|
|
|
}
|
|
|
|
/// <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; }
|
|
|
|
public List<BaseDevice> 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; }
|
|
|
|
|
|
|
|
}
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
}
|
|
/// <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; }
|
|
|
|
|
|
|
|
}
|
|
} |