This commit is contained in:
Đăng Nguyễn
2025-10-31 15:03:37 +07:00
parent aa2146e383
commit aea55d52f1
16 changed files with 1907 additions and 222 deletions

View File

@@ -1,13 +1,19 @@
namespace RobotApp.Common.Shares.Dtos;
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; }
@@ -15,6 +21,9 @@ public record RobotVDA5050ConfigDto
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 VDA5050_Key { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsActive { get; set; }
@@ -34,7 +43,9 @@ public record UpdateRobotVDA5050ConfigDto
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }
public string ConfigName { get; set; }
public string VDA5050CA { get; set; }
public string VDA5050Cer { get; set; }
public string VDA5050_Key { get; set; }
public string Description { get; set; }
}
@@ -50,6 +61,9 @@ public record CreateRobotVDA5050ConfigDto
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 VDA5050_Key { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}