using SqlSugar;
using System;
namespace Tiobon.Core.Model.IDS4DbModels
{
///
/// 以下model 来自ids4项目,多库模式,为了调取ids4数据
/// 角色表
///
[SugarTable("ApplicationRole", "角色表")] //('数据库表名','数据库表备注')
[TenantAttribute("WMTiobon_MYSQL_2")] //('代表是哪个数据库,名字是appsettings.json 的 ConnId')
public class ApplicationRole
{
public bool IsDeleted { get; set; }
public string Description { get; set; }
///
///排序
///
public int OrderSort { get; set; }
///
/// 是否激活
///
public bool Enabled { get; set; }
///
/// 创建ID
///
public int? CreateId { get; set; }
///
/// 创建者
///
public string CreateBy { get; set; }
///
/// 创建时间
///
public DateTime? CreateTime { get; set; } = DateTime.Now;
///
/// 修改ID
///
public int? ModifyId { get; set; }
///
/// 修改者
///
public string ModifyBy { get; set; }
///
/// 修改时间
///
public DateTime? ModifyTime { get; set; } = DateTime.Now;
}
}