DbTableEsData.cs


using RG3.PF.Abstractions.Enums;
using RG3.PF.Abstractions.Interfaces;
using System;
using System.Collections.Generic;

namespace RG3.DO.Abstractions.Entity
{
    /// <summary>
    /// Schema
    /// </summary>
    public class DbTableEsData : IEntity
    {
        /// <summary>
        /// 分片类别
        /// </summary>
        public ShredType ShredType { get; set; }

        /// <summary>
        /// 数据唯一ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 连接 关联名
        /// </summary>
        public string ConnName { get; set; }

        /// <summary>
        /// 连接来至哪个数据库
        /// </summary>
        public int ConnIndex { get; set; }

        /// <summary>
        /// 原始库名
        /// </summary>
        public string DbName { get; set; }


        /// <summary>
        /// 原始表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 执行的Sql语句
        /// </summary>
        public string Sql { get; set; }

        /// <summary>
        /// 带后缀库名
        /// </summary>
        public string DbNameSuffix { get; set; }


        /// <summary>
        /// 带后缀表名
        /// </summary>
        public string TableNameSuffix { get; set; }


        /// <summary>
        /// 创建用户ID
        /// </summary>
        public string CreateUserId { get; set; }



        /// <summary>
        /// 创建用户名称
        /// </summary>
        public string CreateUserName { get; set; }



        /// <summary>
        /// 修改用户ID
        /// </summary>
        public string ModifyUserId { get; set; }



        /// <summary>
        /// 修改用户名称
        /// </summary>
        public string ModifyUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }



        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }



        /// <summary>
        /// 扩展数据信息
        /// </summary>
        public Dictionary<string, object> Data { get; set; }
    }
}
文档更新时间: 2021-09-14 22:17   作者:admin