namespace LiveRecorder.Domain.Entities; public class AppSetting { private AppSetting() { } public AppSetting(string key, string value, DateTimeOffset updatedAt) { Id = Guid.NewGuid(); Key = key; Value = value; UpdatedAt = updatedAt; } public Guid Id { get; private set; } public string Key { get; private set; } = string.Empty; public string Value { get; private set; } = string.Empty; public DateTimeOffset UpdatedAt { get; private set; } public void Update(string value, DateTimeOffset updatedAt) { Value = value; UpdatedAt = updatedAt; } }