using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///数据库连接表
    ///</summary>
    [SugarTable("sys_databaselink")]
    public partial class SysDatabaseLink
    {
           public SysDatabaseLink(){


           }
        /// <summary>
        /// Desc:数据库连接主键
        /// Default:
        /// Nullable:False
        /// </summary>   
        [SugarColumn(IsPrimaryKey = true)]
        public string DatabaseLinkId {get;set;}

           /// <summary>
           /// Desc:服务器地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ServerAddress {get;set;}

           /// <summary>
           /// Desc:连接地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DBConnection {get;set;}

           /// <summary>
           /// Desc:连接地址是否加密
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Desencrypt {get;set;}

           /// <summary>
           /// Desc:排序码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? SortCode {get;set;}

           /// <summary>
           /// Desc:删除标记
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? DeleteMark {get;set;}

           /// <summary>
           /// Desc:有效标志
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? EnabledMark {get;set;}

           /// <summary>
           /// Desc:创建日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? Createdate {get;set;}

           /// <summary>
           /// Desc:修改日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyDate {get;set;}

           /// <summary>
           /// Desc:是否可编辑 0 表示不可编辑 其它值都可编辑
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? IsEdit {get;set;}

           /// <summary>
           /// Desc:数据库名称
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string DBName {get;set;}

           /// <summary>
           /// Desc:数据库别名
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string DBAlias {get;set;}

           /// <summary>
           /// Desc:数据库类型
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string DBType {get;set;}

           /// <summary>
           /// Desc:数据库版本
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string Version {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string Description {get;set;}

           /// <summary>
           /// Desc:创建用户主键
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string CreateUserId {get;set;}

           /// <summary>
           /// Desc:创建用户
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string CreateUsername {get;set;}

           /// <summary>
           /// Desc:修改用户主键
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string ModifyUserId {get;set;}

           /// <summary>
           /// Desc:修改用户
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string ModifyUsername {get;set;}

           /// <summary>
           /// Desc:租户ID
           /// Default:NULL::character varying
           /// Nullable:True
           /// </summary>           
           public string TenantId {get;set;}

    }
}
