RobotApp/RobotApp.Common.Shares/Dtos/RobotPlcConfigDto.cs
Đăng Nguyễn aea55d52f1 update
2025-10-31 15:03:37 +07:00

34 lines
919 B
C#

namespace RobotApp.Common.Shares.Dtos;
#nullable disable
public record RobotPlcConfigDto
{
public Guid Id { get; set; }
public string PLCAddress { get; set; }
public int PLCPort { get; set; }
public int PLCUnitId { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsActive { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}
public record UpdateRobotPlcConfigDto
{
public string Description { get; set; }
public string PLCAddress { get; set; }
public int PLCPort { get; set; }
public int PLCUnitId { get; set; }
}
public record CreateRobotPlcConfigDto
{
public string ConfigName { get; set; }
public string Description { get; set; }
public string PLCAddress { get; set; }
public int PLCPort { get; set; }
public int PLCUnitId { get; set; }
}