This commit is contained in:
2026-04-16 15:19:48 +08:00
commit 1c892259a9
127 changed files with 17390 additions and 0 deletions
@@ -0,0 +1,30 @@
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;
}
}