FlexitimeTracker/DataCenter_Windows/WindowsDataCenter/SQLiteRepository/PolicyDb.cs
chris.watts90@outlook.com dc2210b5b3 Add Api Endpoint to save/retrieve the active policy.Policy
Add SQLite code to save the policy html/markdown scripts from the user
#94
2019-10-18 09:30:57 +01:00

28 lines
613 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite.Net.Attributes;
namespace SQLiteRepository
{
internal class PolicyDb
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public DateTimeOffset ChangeDate { get; set; }
public string ChangeDescription { get; set; }
public string ChangeAuthor { get; set; }
public string Version { get; set; }
public string Markdown { get; set; }
public string Html { get; set; }
}
}