67 lines
1.7 KiB
C#
67 lines
1.7 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Plant.Dto
|
|
{
|
|
/// <summary>
|
|
/// 工站/资源组查询对象
|
|
/// </summary>
|
|
public class PlantWorkstationQueryDto : PagerInfo
|
|
{
|
|
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; }
|
|
}
|
|
|
|
/// <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; }
|
|
|
|
|
|
|
|
}
|
|
} |