using Newtonsoft.Json;
using NPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JwKdsV.Entity
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
[TableName("pos_config")]
[PrimaryKey(new string[] { "group", "keys" })]
public class Config : BaseEntity
{
public Config()
{
this.CreateDate = DateTime.Now;
this.CreateUser = DEFAULT_SYNC_USER;
this.ModifyDate = this.CreateDate;
this.ModifyUser = this.CreateUser;
}
///
/// 租户编号
///
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
///
/// 组别
///
[JsonProperty(PropertyName = "group")]
[Column("group")]
public string Group { get; set; }
///
/// 名称
///
[JsonProperty(PropertyName = "name")]
[Column("name")]
public string Name { get; set; }
///
/// 键
///
[JsonProperty(PropertyName = "keys")]
[Column("keys")]
public string Keys { get; set; }
///
/// 值
///
[JsonProperty(PropertyName = "values")]
[Column("values")]
public string Values { get; set; }
}
}