fix:完成非空问题修复

This commit is contained in:
橙子
2023-04-20 23:08:21 +08:00
parent b55a45baa2
commit c943c1fc74
68 changed files with 206 additions and 209 deletions

View File

@@ -32,7 +32,7 @@ namespace Yi.Furion.Core.Rbac.Entities
/// 配置类别
///</summary>
[SugarColumn(ColumnName = "ConfigType")]
public string ConfigType { get; set; }
public string? ConfigType { get; set; }
/// <summary>
@@ -44,7 +44,7 @@ namespace Yi.Furion.Core.Rbac.Entities
/// 描述
///</summary>
[SugarColumn(ColumnName = "Remark")]
public string Remark { get; set; }
public string? Remark { get; set; }
public bool IsDeleted { get; set; }
public DateTime CreationTime { get; set; }

View File

@@ -19,32 +19,32 @@ namespace Yi.Furion.Core.Rbac.Entities
/// 登录用户
///</summary>
[SugarColumn(ColumnName = "LoginUser")]
public string LoginUser { get; set; }
public string? LoginUser { get; set; }
/// <summary>
/// 登录地点
///</summary>
[SugarColumn(ColumnName = "LoginLocation")]
public string LoginLocation { get; set; }
public string? LoginLocation { get; set; }
/// <summary>
/// 登录Ip
///</summary>
[SugarColumn(ColumnName = "LoginIp")]
public string LoginIp { get; set; }
public string? LoginIp { get; set; }
/// <summary>
/// 浏览器
///</summary>
[SugarColumn(ColumnName = "Browser")]
public string Browser { get; set; }
public string? Browser { get; set; }
/// <summary>
/// 操作系统
///</summary>
[SugarColumn(ColumnName = "Os")]
public string Os { get; set; }
public string? Os { get; set; }
/// <summary>
/// 登录信息
///</summary>
[SugarColumn(ColumnName = "LogMsg")]
public string LogMsg { get; set; }
public string? LogMsg { get; set; }
public long? CreatorId { get; set; }
}

View File

@@ -121,7 +121,7 @@ namespace Yi.Furion.Core.Rbac.Entities
public string? Query { get; set; }
[SugarColumn(IsIgnore = true)]
public List<MenuEntity> Children { get; set; }
public List<MenuEntity>? Children { get; set; }
}
/// <summary>

View File

@@ -23,12 +23,12 @@ public partial class RoleDeptEntity : IEntity<long>
/// 角色id
///</summary>
[SugarColumn(ColumnName = "RoleId")]
public long? RoleId { get; set; }
public long RoleId { get; set; }
/// <summary>
/// 部门id
///</summary>
[SugarColumn(ColumnName = "DeptId")]
public long? DeptId { get; set; }
public long DeptId { get; set; }
}

View File

@@ -66,7 +66,7 @@ namespace Yi.Furion.Core.Rbac.Entities
/// 描述
///</summary>
[SugarColumn(ColumnName = "Remark")]
public string Remark { get; set; }
public string? Remark { get; set; }
/// <summary>
/// 角色数据范围
///</summary>
@@ -80,9 +80,9 @@ namespace Yi.Furion.Core.Rbac.Entities
[Navigate(typeof(RoleMenuEntity), nameof(RoleMenuEntity.RoleId), nameof(RoleMenuEntity.MenuId))]
public List<MenuEntity> Menus { get; set; }
public List<MenuEntity>? Menus { get; set; }
[Navigate(typeof(RoleDeptEntity), nameof(RoleDeptEntity.RoleId), nameof(RoleDeptEntity.DeptId))]
public List<DeptEntity> Depts { get; set; }
public List<DeptEntity>? Depts { get; set; }
}
}

View File

@@ -43,7 +43,7 @@ namespace Yi.Furion.Core.Rbac.Entities
/// <summary>
/// 姓名
/// </summary>
public string Name { get; set; }
public string? Name { get; set; }
/// <summary>
/// 年龄