RobotApp/RobotApp.Common.Shares/Dtos/RobotVDA5050ConfigDto.cs
Đăng Nguyễn 70e27da4a2 update
2025-11-03 10:29:18 +07:00

70 lines
2.4 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace RobotApp.Common.Shares.Dtos;
#nullable disable
public record RobotVDA5050ConfigDto
{
public Guid Id { get; set; }
[Required]
public string SerialNumber { get; set; }
[Required]
public string VDA5050HostServer { get; set; }
[Required]
public int VDA5050Port { get; set; }
[Required]
public string VDA5050UserName { get; set; }
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }
public string VDA5050CA { get; set; }
public string VDA5050Cer { get; set; }
public string VDA5050Key { 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 UpdateRobotVDA5050ConfigDto
{
public string SerialNumber { get; set; }
public string VDA5050HostServer { get; set; }
public int VDA5050Port { get; set; }
public string VDA5050UserName { get; set; }
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }
public string VDA5050CA { get; set; }
public string VDA5050Cer { get; set; }
public string VDA5050Key { get; set; }
public string Description { get; set; }
}
public record CreateRobotVDA5050ConfigDto
{
public string SerialNumber { get; set; }
public string VDA5050HostServer { get; set; }
public int VDA5050Port { get; set; }
public string VDA5050UserName { get; set; }
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }
public string VDA5050CA { get; set; }
public string VDA5050Cer { get; set; }
public string VDA5050Key { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}