This commit is contained in:
cjd
2025-11-04 21:09:16 +08:00
parent 8260e293c7
commit bb90a020dc
592 changed files with 61749 additions and 27 deletions

View File

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