31 lines
562 B
C#
31 lines
562 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Inotify.Data.Models
|
|
{
|
|
|
|
[NPoco.TableName("systemInfo")]
|
|
[NPoco.PrimaryKey("key", AutoIncrement = false)]
|
|
public class SystemInfo
|
|
{
|
|
[NPoco.Column("key")]
|
|
public string key;
|
|
|
|
[NPoco.Column("value")]
|
|
public string Value;
|
|
|
|
public SystemInfo()
|
|
{
|
|
|
|
}
|
|
|
|
public SystemInfo(string key, string value)
|
|
{
|
|
this.key = key;
|
|
Value = value;
|
|
}
|
|
}
|
|
}
|