Files
I150/srcs/RobotNet10/Commons/RobotNet10.CustomConfiguration/Models/ConfigFile.cs
2026-07-03 16:37:12 +07:00

18 lines
682 B
C#

namespace RobotNet10.CustomConfiguration.Models;
/// <summary>
/// Model đại diện cho một file config
/// ConfigType là tên định danh duy nhất (ví dụ: MQTTBrokerConfig)
/// </summary>
public class ConfigFile
{
public Guid Id { get; set; }
public string ConfigType { get; set; } = string.Empty; // Tên định danh duy nhất (ví dụ: MQTTBrokerConfig)
public string FilePath { get; set; } = string.Empty; // Path trong StorageManager
public List<ConfigVariable> Variables { get; set; } = [];
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public string? Description { get; set; }
}