using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IoTIntegrationPlatform.Model.Model { /// /// 后台管理_用户角色 /// [SugarTable("admin_user_role")] public class AdminUserRole { /// /// id /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] public int Id { get; set; } /// /// 管理员id /// [SugarColumn(ColumnName = "user_id")] public int UserId { get; set; } /// /// 角色id /// [SugarColumn(ColumnName = "role_id")] public int RoleId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime UpdateTime { get; set; } /// /// 操作人id /// [SugarColumn(ColumnName = "operation_id")] public int OperationId { get; set; } /// /// 操作人名称 /// [SugarColumn(ColumnName = "operation_name")] public string OperationName { get; set; } /// /// 是否有效 0:否 1:是 /// [SugarColumn(ColumnName = "is_valid")] public bool IsValid { get; set; } } }