Files
Api/DouyinApi.Model/IDS4DbModels/ApplicationRole.cs
2025-11-04 21:09:16 +08:00

50 lines
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}