using Newtonsoft.Json; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JwKdsV.Entity.Common { [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_urls")] [PrimaryKey(new string[] { "Id", "apiId" }, AutoIncrement = false)] public class Urls : BaseEntity { public Urls() { this.CreateDate = DateTime.Now; this.CreateUser = DEFAULT_SYNC_USER; this.ModifyDate = this.CreateDate; this.ModifyUser = this.CreateUser; } /// /// 租户ID /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; } /// /// 应用接口Id /// [JsonProperty(PropertyName = "apiType")] [Column("apiType")] public string ApiType { get; set; } /// /// Http或者Https /// [JsonProperty(PropertyName = "protocol")] [Column("protocol")] public string Protocol { get; set; } /// /// 服务器地址,包含端口 /// [JsonProperty(PropertyName = "url")] [Column("url")] public string Url { get; set; } /// /// ContextPath /// [JsonProperty(PropertyName = "contextPath")] [Column("contextPath")] public string ContextPath { get; set; } /// /// 用户自定义 /// [JsonProperty(PropertyName = "userDefined")] [Column("userDefined")] public int UserDefined { get; set; } /// /// 是否启用 /// [JsonProperty(PropertyName = "enable")] [Column("enable")] public int Enable { get; set; } /// /// 服务器备注说明 /// [JsonProperty(PropertyName = "memo")] [Column("memo")] public string Memo { get; set; } /// /// 扩展字段1 /// [JsonProperty(PropertyName = "ext1")] [Column("ext1")] public string Ext1 { get; set; } /// /// 扩展字段2 /// [JsonProperty(PropertyName = "ext2")] [Column("ext2")] public string Ext2 { get; set; } /// /// 扩展字段3 /// [JsonProperty(PropertyName = "ext3")] [Column("ext3")] public string Ext3 { get; set; } } }