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.

61 lines
1.5 KiB
C#

9 months ago
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;
}
/// <summary>
/// 租户编号
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 组别
/// </summary>
[JsonProperty(PropertyName = "group")]
[Column("group")]
public string Group { get; set; }
/// <summary>
/// 名称
/// </summary>
[JsonProperty(PropertyName = "name")]
[Column("name")]
public string Name { get; set; }
/// <summary>
/// 键
/// </summary>
[JsonProperty(PropertyName = "keys")]
[Column("keys")]
public string Keys { get; set; }
/// <summary>
/// 值
/// </summary>
[JsonProperty(PropertyName = "values")]
[Column("values")]
public string Values { get; set; }
}
}