48 lines
869 B
C#
48 lines
869 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace Guru
|
||
|
|
{
|
||
|
|
|
||
|
|
public partial class PropertyDatabase
|
||
|
|
{
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[Serializable]
|
||
|
|
public class PropertyEntity
|
||
|
|
{
|
||
|
|
const string TableName = "properties";
|
||
|
|
// internal const string dbKey = "key";
|
||
|
|
// internal const string dbValue = "value";
|
||
|
|
// internal const string dbGroup = "gp";
|
||
|
|
// internal const string dbUsage = "usage";
|
||
|
|
// internal const string dbTag = "tag";
|
||
|
|
// internal const string dbUpdateAt = "upt";
|
||
|
|
|
||
|
|
public string key;
|
||
|
|
public string value;
|
||
|
|
public string gp = PropertyKey.DefaultGroup;
|
||
|
|
public int usage = PropertyKey.UsageGeneral;
|
||
|
|
public string tag;
|
||
|
|
public string upt;
|
||
|
|
public int updateAt = 0;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|