Valeo_Line_MES_backend/MDM/Models/Plant/Dto/PlantWorkstationDto.cs
2026-01-29 13:48:29 +08:00

73 lines
1.8 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? PlcIP { 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? PlcIP { get; set; }
public int? Rack { get; set; }
public int? Slot { get; set; }
public int? Status { get; set; }
public string? WorkstaionType { get; set; }
public string? Description { get; set; }
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; }
}
}