Valeo_Line_MES_backend/MDM/Models/Plant/Dto/PlantPlcIoPointDto.cs
gcw_MV9p2JJN d823351e8f 1
2026-01-12 11:13:10 +08:00

50 lines
1.1 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Plant.Dto
{
/// <summary>
/// PLC点位查询对象
/// </summary>
public class PlantPlcIoPointQueryDto : PagerInfo
{
public string? FkWorkstationCode { get; set; }
public string? FkProcessParamCode { get; set; }
public string? FkDeviceCode { get; set; }
}
/// <summary>
/// PLC点位输入输出对象
/// </summary>
public class PlantPlcIoPointDto
{
[Required(ErrorMessage = "Id不能为空")]
public int Id { get; set; }
public string? FkWorkstationCode { get; set; }
public string? FkProcessParamCode { get; set; }
public string? FkDeviceCode { get; set; }
public string? PointType { get; set; }
public string? Address { get; set; }
public int IsActive { get; set; }
public string? Description { get; set; }
public string? CreatedBy { get; set; }
public DateTime CreatedTime { get; set; }
public string? UpdatedBy { get; set; }
public DateTime UpdatedTime { get; set; }
}
}