Add SQLite code to save the policy html/markdown scripts from the user #94
28 lines
613 B
C#
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; }
|
|
|
|
}
|
|
}
|