using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Plant.Dto
{
///
/// PLC点位查询对象
///
public class PlantPlcIoPointQueryDto : PagerInfo
{
public string? FkWorkstationCode { get; set; }
public string? FkProcessParamCode { get; set; }
public string? FkDeviceCode { get; set; }
}
///
/// PLC点位输入输出对象
///
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; }
}
}