You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
996 B
C#
47 lines
996 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using NPoco;
|
|
|
|
namespace POSV.Entity
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
[TableName("pos_config")]
|
|
[PrimaryKey(new string[] { "group" , "keys" },AutoIncrement = false)]
|
|
public class Config : BaseEntity
|
|
{
|
|
public Config()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* 租户ID
|
|
*/
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/**
|
|
* 分组名称
|
|
*/
|
|
[JsonProperty(PropertyName = "group")]
|
|
[Column("group")]
|
|
public string Group { get; set; }
|
|
|
|
/**
|
|
* Keys
|
|
*/
|
|
[JsonProperty(PropertyName = "keys")]
|
|
[Column("keys")]
|
|
public string Keys { get; set; }
|
|
|
|
/**
|
|
* Keys
|
|
*/
|
|
[JsonProperty(PropertyName = "values")]
|
|
[Column("values")]
|
|
public string Values { get; set; }
|
|
}
|
|
}
|