mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 15:27:03 -04:00
39 lines
810 B
C#
39 lines
810 B
C#
using SQLite;
|
|
using System;
|
|
|
|
namespace WowUp.WPF.Entities
|
|
{
|
|
[Table("Preferences")]
|
|
public class Preference : BaseEntity
|
|
{
|
|
private int _id;
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id
|
|
{
|
|
get => _id;
|
|
set { SetProperty(ref _id, value); }
|
|
}
|
|
|
|
private string _key;
|
|
public string Key
|
|
{
|
|
get => _key;
|
|
set { SetProperty(ref _key, value); }
|
|
}
|
|
|
|
private string _value;
|
|
public string Value
|
|
{
|
|
get => _value;
|
|
set { SetProperty(ref _value, value); }
|
|
}
|
|
|
|
private DateTime _updatedAt;
|
|
public DateTime UpdatedAt
|
|
{
|
|
get => _updatedAt;
|
|
set { SetProperty(ref _updatedAt, value); }
|
|
}
|
|
}
|
|
}
|