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.

101 lines
2.7 KiB
C#

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;
}
/// <summary>
/// 租户ID
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 应用接口Id
/// </summary>
[JsonProperty(PropertyName = "apiType")]
[Column("apiType")]
public string ApiType { get; set; }
/// <summary>
/// Http或者Https
/// </summary>
[JsonProperty(PropertyName = "protocol")]
[Column("protocol")]
public string Protocol { get; set; }
/// <summary>
/// 服务器地址,包含端口
/// </summary>
[JsonProperty(PropertyName = "url")]
[Column("url")]
public string Url { get; set; }
/// <summary>
/// ContextPath
/// </summary>
[JsonProperty(PropertyName = "contextPath")]
[Column("contextPath")]
public string ContextPath { get; set; }
/// <summary>
/// 用户自定义
/// </summary>
[JsonProperty(PropertyName = "userDefined")]
[Column("userDefined")]
public int UserDefined { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[JsonProperty(PropertyName = "enable")]
[Column("enable")]
public int Enable { get; set; }
/// <summary>
/// 服务器备注说明
/// </summary>
[JsonProperty(PropertyName = "memo")]
[Column("memo")]
public string Memo { get; set; }
/// <summary>
/// 扩展字段1
/// </summary>
[JsonProperty(PropertyName = "ext1")]
[Column("ext1")]
public string Ext1 { get; set; }
/// <summary>
/// 扩展字段2
/// </summary>
[JsonProperty(PropertyName = "ext2")]
[Column("ext2")]
public string Ext2 { get; set; }
/// <summary>
/// 扩展字段3
/// </summary>
[JsonProperty(PropertyName = "ext3")]
[Column("ext3")]
public string Ext3 { get; set; }
}
}