using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("excel_import")]
    public class ExcelImport
    {
        #region 实体成员
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 关联模块Id
        /// </summary>
        public string ModuleId { get; set; }
        /// <summary>
        /// 关联按钮Id
        /// </summary>
        public string ModuleBtnId { get; set; }
        /// <summary>
        /// 按钮名称
        /// </summary>
        public string BtnName { get; set; }
        /// <summary>
        /// 导入数据库ID
        /// </summary>
        public string DbId { get; set; }
        /// <summary>
        /// 导入数据库表
        /// </summary>
        public string DbTable { get; set; }
        /// <summary>
        /// 错误处理机制0终止,1跳过
        /// </summary>
        public int? ErrorType { get; set; }
        /// <summary>
        /// 是否有效0暂停,1启用
        /// </summary>
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 创建人名字
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public string ModifyUserId { get; set; }
        /// <summary>
        /// 修改人名称
        /// </summary>
        public string ModifyUserName { get; set; }
        #endregion
    }
}
