zhuangpei-mesbackend/MDM/Models/Plant/Dto/PlantWorkstationDto.cs

67 lines
1.7 KiB
C#
Raw Normal View History

2025-11-15 14:33:00 +08:00
using System.ComponentModel.DataAnnotations;
2025-11-16 15:16:51 +08:00
namespace MDM.Model.Plant.Dto
{
2025-11-15 14:33:00 +08:00
/// <summary>
/// 工站/资源组查询对象
/// </summary>
public class PlantWorkstationQueryDto : PagerInfo
{
2025-11-17 11:00:02 +08:00
public string FkFactorySiteCode { get; set; }
public string FkWorkshopCode { get; set; }
public string FkProductlinebody { get; set; }
public string WorkstationCode { get; set; }
public string WorkstationName { get; set; }
public string FunctionGroupCode { get; set; }
public string FunctionGroupName { get; set; }
2025-11-15 14:33:00 +08:00
}
/// <summary>
/// 工站/资源组输入输出对象
/// </summary>
public class PlantWorkstationDto
{
[Required(ErrorMessage = "工站id不能为空")]
public int WorkstationId { get; set; }
public string FkFactorySiteCode { get; set; }
public string FkWorkshopCode { get; set; }
public string FkProductlinebody { get; set; }
[Required(ErrorMessage = "工站code不能为空")]
public string WorkstationCode { get; set; }
public string WorkstationName { get; set; }
public string WorkstaionType { get; set; }
public string Description { get; set; }
[Required(ErrorMessage = "功能组编码,相同值的工站为相同功能,可互换不能为空")]
public string FunctionGroupCode { get; set; }
public string FunctionGroupName { get; set; }
public int? IsReplaceable { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}