18 lines
682 B
C#
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; }
|
|
}
|
|
|