fix:完成非空问题修复
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Banner
|
|||||||
public class BannerCreateInputVo
|
public class BannerCreateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.Banner
|
|||||||
|
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.Banner
|
|||||||
|
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.Banner
|
|||||||
{
|
{
|
||||||
public class BannerUpdateInputVo
|
public class BannerUpdateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Comment
|
|||||||
public class CommentGetListInputVo
|
public class CommentGetListInputVo
|
||||||
{
|
{
|
||||||
public DateTime? creationTime { get; set; }
|
public DateTime? creationTime { get; set; }
|
||||||
public string Content { get; set; }
|
public string? Content { get; set; }
|
||||||
|
|
||||||
//Ӧ<><D3A6>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ī<EFBFBD><C4AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ
|
//Ӧ<><D3A6>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ī<EFBFBD><C4AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ
|
||||||
public long? DiscussId { get; set; }
|
public long? DiscussId { get; set; }
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
public class DiscussCreateInputVo
|
public class DiscussCreateInputVo
|
||||||
{
|
{
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string Types { get; set; }
|
public string? Types { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public DateTime? CreateTime { get; set; } = DateTime.Now;
|
public DateTime? CreateTime { get; set; } = DateTime.Now;
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public long PlateId { get; set; }
|
public long PlateId { get; set; }
|
||||||
|
|
||||||
@@ -28,6 +28,6 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 封面
|
/// 封面
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Cover { get; set; }
|
public string? Cover { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,14 +16,14 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string Types { get; set; }
|
public string Types { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
|
|
||||||
public int AgreeNum { get; set; }
|
public int AgreeNum { get; set; }
|
||||||
public int SeeNum { get; set; }
|
public int SeeNum { get; set; }
|
||||||
|
|
||||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>
|
||||||
//public string Content { get; set; }
|
//public string Content { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public long PlateId { get; set; }
|
public long PlateId { get; set; }
|
||||||
|
|
||||||
@@ -38,10 +38,10 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD>
|
/// <20><><EFBFBD><EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Cover { get; set; }
|
public string? Cover { get; set; }
|
||||||
|
|
||||||
//˽<><CBBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ж<EFBFBD>codeȨ<65><C8A8>
|
//˽<><CBBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ж<EFBFBD>codeȨ<65><C8A8>
|
||||||
public string PrivateCode { get; set; }
|
public string? PrivateCode { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
|
|
||||||
public List<long> PermissionUserIds { get; set; }
|
public List<long> PermissionUserIds { get; set; }
|
||||||
@@ -50,11 +50,11 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
|
|
||||||
public void SetBan()
|
public void SetBan()
|
||||||
{
|
{
|
||||||
Title = DiscussConst.˽<EFBFBD><EFBFBD>;
|
this.Title = DiscussConst.˽<EFBFBD><EFBFBD>;
|
||||||
Introduction = "";
|
this.Introduction = "";
|
||||||
Cover = null;
|
this.Cover = null;
|
||||||
//<2F><><EFBFBD><EFBFBD>ֹ
|
//<2F><><EFBFBD><EFBFBD>ֹ
|
||||||
IsBan = true;
|
this.IsBan = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
|
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string Types { get; set; }
|
public string? Types { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public int AgreeNum { get; set; }
|
public int AgreeNum { get; set; }
|
||||||
public int SeeNum { get; set; }
|
public int SeeNum { get; set; }
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public long PlateId { get; set; }
|
public long PlateId { get; set; }
|
||||||
//<2F>Ƿ<EFBFBD><C7B7>ö<EFBFBD><C3B6><EFBFBD>Ĭ<EFBFBD><C4AC>false
|
//<2F>Ƿ<EFBFBD><C7B7>ö<EFBFBD><C3B6><EFBFBD>Ĭ<EFBFBD><C4AC>false
|
||||||
@@ -25,12 +25,12 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD>
|
/// <20><><EFBFBD><EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Cover { get; set; }
|
public string? Cover { get; set; }
|
||||||
//<2F>Ƿ<EFBFBD>˽<EFBFBD>У<EFBFBD>Ĭ<EFBFBD><C4AC>false
|
//<2F>Ƿ<EFBFBD>˽<EFBFBD>У<EFBFBD>Ĭ<EFBFBD><C4AC>false
|
||||||
public bool IsPrivate { get; set; }
|
public bool IsPrivate { get; set; }
|
||||||
|
|
||||||
//˽<><CBBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ж<EFBFBD>codeȨ<65><C8A8>
|
//˽<><CBBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ж<EFBFBD>codeȨ<65><C8A8>
|
||||||
public string PrivateCode { get; set; }
|
public string? PrivateCode { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
public DiscussPermissionTypeEnum PermissionType { get; set; }
|
public DiscussPermissionTypeEnum PermissionType { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
public class DiscussUpdateInputVo
|
public class DiscussUpdateInputVo
|
||||||
{
|
{
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string Types { get; set; }
|
public string? Types { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public int AgreeNum { get; set; }
|
public int AgreeNum { get; set; }
|
||||||
public int SeeNum { get; set; }
|
public int SeeNum { get; set; }
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public List<long> PermissionUserIds { get; set; }
|
public List<long> PermissionUserIds { get; set; }
|
||||||
|
|
||||||
@@ -20,6 +20,6 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD>
|
/// <20><><EFBFBD><EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Cover { get; set; }
|
public string? Cover { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.MyType
|
|||||||
public class MyTypeCreateInputVo
|
public class MyTypeCreateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.MyType
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.MyType
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.MyType
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ namespace Yi.Furion.Core.Bbs.Dtos.MyType
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Plate
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Plate
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Plate
|
|||||||
|
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Plate
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Plate
|
|||||||
|
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ namespace Yi.Furion.Core.Bbs.Entities
|
|||||||
[SugarColumn(IsPrimaryKey = true)]
|
[SugarColumn(IsPrimaryKey = true)]
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -21,20 +21,20 @@ namespace Yi.Furion.Core.Bbs.Entities
|
|||||||
|
|
||||||
[SugarColumn(IsPrimaryKey = true)]
|
[SugarColumn(IsPrimaryKey = true)]
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Title { get; set; }
|
public string? Title { get; set; }
|
||||||
public string Types { get; set; }
|
public string? Types { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public int AgreeNum { get; set; }
|
public int AgreeNum { get; set; }
|
||||||
public int SeeNum { get; set; }
|
public int SeeNum { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 封面
|
/// 封面
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Cover { get; set; }
|
public string? Cover { get; set; }
|
||||||
|
|
||||||
[SugarColumn(Length = 999999)]
|
[SugarColumn(Length = 999999)]
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
|
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
|
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
|
|
||||||
@@ -58,6 +58,6 @@ namespace Yi.Furion.Core.Bbs.Entities
|
|||||||
/// 当PermissionType为部分用户时候,以下列表中的用户+创建者 代表拥有权限
|
/// 当PermissionType为部分用户时候,以下列表中的用户+创建者 代表拥有权限
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(IsJson = true)]//使用json处理
|
[SugarColumn(IsJson = true)]//使用json处理
|
||||||
public List<long> PermissionUserIds { get; set; }
|
public List<long>? PermissionUserIds { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ namespace Yi.Furion.Core.Bbs.Entities
|
|||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Color { get; set; }
|
public string? Color { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string? BackgroundColor { get; set; }
|
||||||
|
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ namespace Yi.Furion.Core.Bbs.Entities
|
|||||||
[SugarColumn(IsPrimaryKey = true)]
|
[SugarColumn(IsPrimaryKey = true)]
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Logo { get; set; }
|
public string? Logo { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Account
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 唯一标识码
|
/// 唯一标识码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Uuid { get; set; }
|
public string? Uuid { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 电话
|
/// 电话
|
||||||
@@ -34,6 +34,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.Account
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 验证码
|
/// 验证码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Code { get; set; }
|
public string? Code { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.Account
|
|||||||
{
|
{
|
||||||
public class UpdateIconDto
|
public class UpdateIconDto
|
||||||
{
|
{
|
||||||
public string Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
public string ConfigName { get; set; } = string.Empty;
|
public string ConfigName { get; set; } = string.Empty;
|
||||||
public string ConfigKey { get; set; } = string.Empty;
|
public string ConfigKey { get; set; } = string.Empty;
|
||||||
public string ConfigValue { get; set; } = string.Empty;
|
public string ConfigValue { get; set; } = string.Empty;
|
||||||
public string ConfigType { get; set; }
|
public string? ConfigType { get; set; }
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ConfigName { get; set; }
|
public string? ConfigName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD>ü<EFBFBD>
|
/// <20><><EFBFBD>ü<EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ConfigKey { get; set; }
|
public string? ConfigKey { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ConfigType { get; set; }
|
public string? ConfigType { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>
|
/// <20><><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -30,7 +30,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><>ע
|
/// <20><>ע
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <20><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
/// <20><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
public string ConfigName { get; set; } = string.Empty;
|
public string ConfigName { get; set; } = string.Empty;
|
||||||
public string ConfigKey { get; set; } = string.Empty;
|
public string ConfigKey { get; set; } = string.Empty;
|
||||||
public string ConfigValue { get; set; } = string.Empty;
|
public string ConfigValue { get; set; } = string.Empty;
|
||||||
public string ConfigType { get; set; }
|
public string? ConfigType { get; set; }
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Config
|
|||||||
public string ConfigName { get; set; } = string.Empty;
|
public string ConfigName { get; set; } = string.Empty;
|
||||||
public string ConfigKey { get; set; } = string.Empty;
|
public string ConfigKey { get; set; } = string.Empty;
|
||||||
public string ConfigValue { get; set; } = string.Empty;
|
public string ConfigValue { get; set; } = string.Empty;
|
||||||
public string ConfigType { get; set; }
|
public string? ConfigType { get; set; }
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ namespace Yi.Furion.Core.Rbac.Dtos.Dept
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string DeptName { get; set; } = string.Empty;
|
public string DeptName { get; set; } = string.Empty;
|
||||||
public string DeptCode { get; set; } = string.Empty;
|
public string DeptCode { get; set; } = string.Empty;
|
||||||
public string Leader { get; set; }
|
public string? Leader { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Dept
|
|||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
public string DeptName { get; set; }
|
public string? DeptName { get; set; }
|
||||||
public string DeptCode { get; set; }
|
public string? DeptCode { get; set; }
|
||||||
public string Leader { get; set; }
|
public string? Leader { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Dept
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string DeptName { get; set; } = string.Empty;
|
public string DeptName { get; set; } = string.Empty;
|
||||||
public string DeptCode { get; set; } = string.Empty;
|
public string DeptCode { get; set; } = string.Empty;
|
||||||
public string Leader { get; set; }
|
public string? Leader { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ namespace Yi.Furion.Core.Rbac.Dtos.Dept
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string DeptName { get; set; } = string.Empty;
|
public string DeptName { get; set; } = string.Empty;
|
||||||
public string DeptCode { get; set; } = string.Empty;
|
public string DeptCode { get; set; } = string.Empty;
|
||||||
public string Leader { get; set; }
|
public string? Leader { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
public long? deptId { get; set; }
|
public long? deptId { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ namespace Yi.Furion.Core.Rbac.Dtos.Dept
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string DeptName { get; set; } = string.Empty;
|
public string DeptName { get; set; } = string.Empty;
|
||||||
public string DeptCode { get; set; } = string.Empty;
|
public string DeptCode { get; set; } = string.Empty;
|
||||||
public string Leader { get; set; }
|
public string? Leader { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ namespace Yi.Furion.Core.Rbac.Dtos.LoginLog
|
|||||||
{
|
{
|
||||||
public class LoginLogGetListInputVo : PagedAllResultRequestDto
|
public class LoginLogGetListInputVo : PagedAllResultRequestDto
|
||||||
{
|
{
|
||||||
public string LoginUser { get; set; }
|
public string? LoginUser { get; set; }
|
||||||
|
|
||||||
public string LoginIp { get; set; }
|
public string? LoginIp { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,25 +7,25 @@ namespace Yi.Furion.Core.Rbac.Dtos.LoginLog
|
|||||||
public DateTime CreationTime { get; }
|
public DateTime CreationTime { get; }
|
||||||
|
|
||||||
|
|
||||||
public string LoginUser { get; set; }
|
public string? LoginUser { get; set; }
|
||||||
|
|
||||||
public string LoginLocation { get; set; }
|
public string? LoginLocation { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录Ip
|
/// 登录Ip
|
||||||
///</summary>
|
///</summary>
|
||||||
public string LoginIp { get; set; }
|
public string? LoginIp { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 浏览器
|
/// 浏览器
|
||||||
///</summary>
|
///</summary>
|
||||||
public string Browser { get; set; }
|
public string? Browser { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作系统
|
/// 操作系统
|
||||||
///</summary>
|
///</summary>
|
||||||
public string Os { get; set; }
|
public string? Os { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录信息
|
/// 登录信息
|
||||||
///</summary>
|
///</summary>
|
||||||
public string LogMsg { get; set; }
|
public string? LogMsg { get; set; }
|
||||||
|
|
||||||
public long? CreatorId { get; set; }
|
public long? CreatorId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,16 +14,15 @@ namespace Yi.Furion.Core.Rbac.Dtos.Menu
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string MenuName { get; set; } = string.Empty;
|
public string MenuName { get; set; } = string.Empty;
|
||||||
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
||||||
public string PermissionCode { get; set; }
|
public string? PermissionCode { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string MenuIcon { get; set; }
|
public string? MenuIcon { get; set; }
|
||||||
public string Router { get; set; }
|
public string? Router { get; set; }
|
||||||
public bool IsLink { get; set; }
|
public bool IsLink { get; set; }
|
||||||
public bool IsCache { get; set; }
|
public bool IsCache { get; set; }
|
||||||
public bool IsShow { get; set; } = true;
|
public bool IsShow { get; set; } = true;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public string Component { get; set; }
|
public string? Component { get; set; }
|
||||||
public string Query { get; set; }
|
public string? Query { get; set; }
|
||||||
public int OrderNum { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Menu
|
|||||||
{
|
{
|
||||||
|
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
public string MenuName { get; set; }
|
public string? MenuName { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,16 +12,16 @@ namespace Yi.Furion.Core.Rbac.Dtos.Menu
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string MenuName { get; set; } = string.Empty;
|
public string MenuName { get; set; } = string.Empty;
|
||||||
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
||||||
public string PermissionCode { get; set; }
|
public string? PermissionCode { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string MenuIcon { get; set; }
|
public string? MenuIcon { get; set; }
|
||||||
public string Router { get; set; }
|
public string? Router { get; set; }
|
||||||
public bool IsLink { get; set; }
|
public bool IsLink { get; set; }
|
||||||
public bool IsCache { get; set; }
|
public bool IsCache { get; set; }
|
||||||
public bool IsShow { get; set; } = true;
|
public bool IsShow { get; set; } = true;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public string Component { get; set; }
|
public string? Component { get; set; }
|
||||||
public string Query { get; set; }
|
public string? Query { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
//public List<MenuEntity>? Children { get; set; }
|
//public List<MenuEntity>? Children { get; set; }
|
||||||
|
|||||||
@@ -12,16 +12,16 @@ namespace Yi.Furion.Core.Rbac.Dtos.Menu
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string MenuName { get; set; } = string.Empty;
|
public string MenuName { get; set; } = string.Empty;
|
||||||
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
||||||
public string PermissionCode { get; set; }
|
public string? PermissionCode { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string MenuIcon { get; set; }
|
public string? MenuIcon { get; set; }
|
||||||
public string Router { get; set; }
|
public string? Router { get; set; }
|
||||||
public bool IsLink { get; set; }
|
public bool IsLink { get; set; }
|
||||||
public bool IsCache { get; set; }
|
public bool IsCache { get; set; }
|
||||||
public bool IsShow { get; set; } = true;
|
public bool IsShow { get; set; } = true;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public string Component { get; set; }
|
public string? Component { get; set; }
|
||||||
public string Query { get; set; }
|
public string? Query { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -11,18 +11,16 @@ namespace Yi.Furion.Core.Rbac.Dtos.Menu
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string MenuName { get; set; } = string.Empty;
|
public string MenuName { get; set; } = string.Empty;
|
||||||
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
|
||||||
public string PermissionCode { get; set; }
|
public string? PermissionCode { get; set; }
|
||||||
public long ParentId { get; set; }
|
public long ParentId { get; set; }
|
||||||
public string MenuIcon { get; set; }
|
public string? MenuIcon { get; set; }
|
||||||
public string Router { get; set; }
|
public string? Router { get; set; }
|
||||||
public bool IsLink { get; set; }
|
public bool IsLink { get; set; }
|
||||||
public bool IsCache { get; set; }
|
public bool IsCache { get; set; }
|
||||||
public bool IsShow { get; set; } = true;
|
public bool IsShow { get; set; } = true;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public string Component { get; set; }
|
public string? Component { get; set; }
|
||||||
public string Query { get; set; }
|
public string? Query { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
|
||||||
//public List<MenuEntity>? Children { get; set; }
|
//public List<MenuEntity>? Children { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.MonitorCache
|
|||||||
public string CacheName { get; set; }
|
public string CacheName { get; set; }
|
||||||
public string CacheKey { get; set; }
|
public string CacheKey { get; set; }
|
||||||
public string CacheValue { get; set; }
|
public string CacheValue { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.MonitorCache
|
|||||||
public class MonitorCacheNameGetListOutputDto
|
public class MonitorCacheNameGetListOutputDto
|
||||||
{
|
{
|
||||||
public string CacheName { get; set; }
|
public string CacheName { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.Post
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string PostCode { get; set; } = string.Empty;
|
public string PostCode { get; set; } = string.Empty;
|
||||||
public string PostName { get; set; } = string.Empty;
|
public string PostName { get; set; } = string.Empty;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.Post
|
|||||||
{
|
{
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
//public string? PostCode { get; set; }=string.Empty;
|
//public string? PostCode { get; set; }=string.Empty;
|
||||||
public string PostName { get; set; } = string.Empty;
|
public string? PostName { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Post
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string PostCode { get; set; } = string.Empty;
|
public string PostCode { get; set; } = string.Empty;
|
||||||
public string PostName { get; set; } = string.Empty;
|
public string PostName { get; set; } = string.Empty;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Yi.Furion.Core.Rbac.Dtos.Post
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string PostCode { get; set; } = string.Empty;
|
public string PostCode { get; set; } = string.Empty;
|
||||||
public string PostName { get; set; } = string.Empty;
|
public string PostName { get; set; } = string.Empty;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
public int OrderNum { get; set; }
|
public int OrderNum { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ namespace Yi.Furion.Core.Rbac.Dtos.Post
|
|||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public string PostCode { get; set; } = string.Empty;
|
public string PostCode { get; set; } = string.Empty;
|
||||||
public string PostName { get; set; } = string.Empty;
|
public string PostName { get; set; } = string.Empty;
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Role
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class RoleCreateInputVo
|
public class RoleCreateInputVo
|
||||||
{
|
{
|
||||||
public string RoleName { get; set; }
|
public string? RoleName { get; set; }
|
||||||
public string RoleCode { get; set; }
|
public string? RoleCode { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
||||||
public bool State { get; set; } = true;
|
public bool State { get; set; } = true;
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ namespace Yi.Furion.Core.Rbac.Dtos.Role
|
|||||||
{
|
{
|
||||||
public class RoleGetListInputVo : PagedAllResultRequestDto
|
public class RoleGetListInputVo : PagedAllResultRequestDto
|
||||||
{
|
{
|
||||||
public string RoleName { get; set; }
|
public string? RoleName { get; set; }
|
||||||
public string RoleCode { get; set; }
|
public string? RoleCode { get; set; }
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Role
|
|||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public DateTime CreationTime { get; set; } = DateTime.Now;
|
public DateTime CreationTime { get; set; } = DateTime.Now;
|
||||||
public long? CreatorId { get; set; }
|
public long? CreatorId { get; set; }
|
||||||
public string RoleName { get; set; }
|
public string? RoleName { get; set; }
|
||||||
public string RoleCode { get; set; }
|
public string? RoleCode { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Role
|
|||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public DateTime CreationTime { get; set; } = DateTime.Now;
|
public DateTime CreationTime { get; set; } = DateTime.Now;
|
||||||
public long? CreatorId { get; set; }
|
public long? CreatorId { get; set; }
|
||||||
public string RoleName { get; set; }
|
public string? RoleName { get; set; }
|
||||||
public string RoleCode { get; set; }
|
public string? RoleCode { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ namespace Yi.Furion.Core.Rbac.Dtos.Role
|
|||||||
{
|
{
|
||||||
public class RoleUpdateInputVo
|
public class RoleUpdateInputVo
|
||||||
{
|
{
|
||||||
public string RoleName { get; set; }
|
public string? RoleName { get; set; }
|
||||||
public string RoleCode { get; set; }
|
public string? RoleCode { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
|
||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
{
|
{
|
||||||
public class ProfileUpdateInputVo
|
public class ProfileUpdateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public int? Age { get; set; }
|
public int? Age { get; set; }
|
||||||
public string Nick { get; set; }
|
public string? Nick { get; set; }
|
||||||
public string Email { get; set; }
|
public string? Email { get; set; }
|
||||||
public string Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public SexEnum? Sex { get; set; }
|
public SexEnum? Sex { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,21 +8,21 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class UserCreateInputVo
|
public class UserCreateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public int? Age { get; set; }
|
public int? Age { get; set; }
|
||||||
public string UserName { get; set; } = string.Empty;
|
public string UserName { get; set; } = string.Empty;
|
||||||
public string Password { get; set; } = string.Empty;
|
public string Password { get; set; } = string.Empty;
|
||||||
public string Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
public string Nick { get; set; }
|
public string? Nick { get; set; }
|
||||||
public string Email { get; set; }
|
public string? Email { get; set; }
|
||||||
public string Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
||||||
public List<long> RoleIds { get; set; }
|
public List<long>? RoleIds { get; set; }
|
||||||
public List<long> PostIds { get; set; }
|
public List<long>? PostIds { get; set; }
|
||||||
public long? DeptId { get; set; }
|
public long? DeptId { get; set; }
|
||||||
public bool State { get; set; } = true;
|
public bool State { get; set; } = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,15 +4,14 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
{
|
{
|
||||||
public class UserGetListInputVo : PagedAllResultRequestDto
|
public class UserGetListInputVo : PagedAllResultRequestDto
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public string UserName { get; set; }
|
public string? UserName { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
|
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
|
|
||||||
public long? DeptId { get; set; }
|
public long? DeptId { get; set; }
|
||||||
|
|
||||||
public string Ids { get; set; }
|
public string? Ids { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,17 +6,17 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
public class UserGetListOutputDto : IEntityDto<long>
|
public class UserGetListOutputDto : IEntityDto<long>
|
||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public int? Age { get; set; }
|
public int? Age { get; set; }
|
||||||
public string UserName { get; set; } = string.Empty;
|
public string UserName { get; set; } = string.Empty;
|
||||||
public string Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
public string Nick { get; set; }
|
public string? Nick { get; set; }
|
||||||
public string Email { get; set; }
|
public string? Email { get; set; }
|
||||||
public string Ip { get; set; }
|
public string? Ip { get; set; }
|
||||||
public string Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
||||||
public long? DeptId { get; set; }
|
public long? DeptId { get; set; }
|
||||||
public DateTime CreationTime { get; set; } = DateTime.Now;
|
public DateTime CreationTime { get; set; } = DateTime.Now;
|
||||||
|
|||||||
@@ -9,17 +9,17 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
public class UserGetOutputDto : IEntityDto<long>
|
public class UserGetOutputDto : IEntityDto<long>
|
||||||
{
|
{
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public int? Age { get; set; }
|
public int? Age { get; set; }
|
||||||
public string UserName { get; set; } = string.Empty;
|
public string UserName { get; set; } = string.Empty;
|
||||||
public string Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
public string Nick { get; set; }
|
public string? Nick { get; set; }
|
||||||
public string Email { get; set; }
|
public string? Email { get; set; }
|
||||||
public string Ip { get; set; }
|
public string? Ip { get; set; }
|
||||||
public string Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
public SexEnum Sex { get; set; } = SexEnum.Unknown;
|
||||||
public bool State { get; set; }
|
public bool State { get; set; }
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
|
|||||||
@@ -4,25 +4,25 @@ namespace Yi.Furion.Core.Rbac.Dtos.User
|
|||||||
{
|
{
|
||||||
public class UserUpdateInputVo
|
public class UserUpdateInputVo
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
public int? Age { get; set; }
|
public int? Age { get; set; }
|
||||||
public string UserName { get; set; }
|
public string? UserName { get; set; }
|
||||||
|
|
||||||
[AdaptIgnore]
|
[AdaptIgnore]
|
||||||
public string Password { get; set; }
|
public string? Password { get; set; }
|
||||||
public string Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
public string Nick { get; set; }
|
public string? Nick { get; set; }
|
||||||
public string Email { get; set; }
|
public string? Email { get; set; }
|
||||||
public string Ip { get; set; }
|
public string? Ip { get; set; }
|
||||||
public string Address { get; set; }
|
public string? Address { get; set; }
|
||||||
public long? Phone { get; set; }
|
public long? Phone { get; set; }
|
||||||
public string Introduction { get; set; }
|
public string? Introduction { get; set; }
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public SexEnum? Sex { get; set; }
|
public SexEnum? Sex { get; set; }
|
||||||
public long? DeptId { get; set; }
|
public long? DeptId { get; set; }
|
||||||
public List<long> PostIds { get; set; }
|
public List<long>? PostIds { get; set; }
|
||||||
|
|
||||||
public List<long> RoleIds { get; set; }
|
public List<long>? RoleIds { get; set; }
|
||||||
public bool? State { get; set; }
|
public bool? State { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
/// 配置类别
|
/// 配置类别
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "ConfigType")]
|
[SugarColumn(ColumnName = "ConfigType")]
|
||||||
public string ConfigType { get; set; }
|
public string? ConfigType { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -44,7 +44,7 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
/// 描述
|
/// 描述
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "Remark")]
|
[SugarColumn(ColumnName = "Remark")]
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
|
|
||||||
public DateTime CreationTime { get; set; }
|
public DateTime CreationTime { get; set; }
|
||||||
|
|||||||
@@ -19,32 +19,32 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
/// 登录用户
|
/// 登录用户
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "LoginUser")]
|
[SugarColumn(ColumnName = "LoginUser")]
|
||||||
public string LoginUser { get; set; }
|
public string? LoginUser { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录地点
|
/// 登录地点
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "LoginLocation")]
|
[SugarColumn(ColumnName = "LoginLocation")]
|
||||||
public string LoginLocation { get; set; }
|
public string? LoginLocation { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录Ip
|
/// 登录Ip
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "LoginIp")]
|
[SugarColumn(ColumnName = "LoginIp")]
|
||||||
public string LoginIp { get; set; }
|
public string? LoginIp { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 浏览器
|
/// 浏览器
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "Browser")]
|
[SugarColumn(ColumnName = "Browser")]
|
||||||
public string Browser { get; set; }
|
public string? Browser { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作系统
|
/// 操作系统
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "Os")]
|
[SugarColumn(ColumnName = "Os")]
|
||||||
public string Os { get; set; }
|
public string? Os { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录信息
|
/// 登录信息
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "LogMsg")]
|
[SugarColumn(ColumnName = "LogMsg")]
|
||||||
public string LogMsg { get; set; }
|
public string? LogMsg { get; set; }
|
||||||
|
|
||||||
public long? CreatorId { get; set; }
|
public long? CreatorId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
public string? Query { get; set; }
|
public string? Query { get; set; }
|
||||||
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
[SugarColumn(IsIgnore = true)]
|
||||||
public List<MenuEntity> Children { get; set; }
|
public List<MenuEntity>? Children { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -23,12 +23,12 @@ public partial class RoleDeptEntity : IEntity<long>
|
|||||||
/// 角色id
|
/// 角色id
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "RoleId")]
|
[SugarColumn(ColumnName = "RoleId")]
|
||||||
public long? RoleId { get; set; }
|
public long RoleId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 部门id
|
/// 部门id
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "DeptId")]
|
[SugarColumn(ColumnName = "DeptId")]
|
||||||
public long? DeptId { get; set; }
|
public long DeptId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
/// 描述
|
/// 描述
|
||||||
///</summary>
|
///</summary>
|
||||||
[SugarColumn(ColumnName = "Remark")]
|
[SugarColumn(ColumnName = "Remark")]
|
||||||
public string Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 角色数据范围
|
/// 角色数据范围
|
||||||
///</summary>
|
///</summary>
|
||||||
@@ -80,9 +80,9 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
|
|
||||||
|
|
||||||
[Navigate(typeof(RoleMenuEntity), nameof(RoleMenuEntity.RoleId), nameof(RoleMenuEntity.MenuId))]
|
[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))]
|
[Navigate(typeof(RoleDeptEntity), nameof(RoleDeptEntity.RoleId), nameof(RoleDeptEntity.DeptId))]
|
||||||
public List<DeptEntity> Depts { get; set; }
|
public List<DeptEntity>? Depts { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace Yi.Furion.Core.Rbac.Entities
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 姓名
|
/// 姓名
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Name { get; set; }
|
public string? Name { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 年龄
|
/// 年龄
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"Url": "DataSource=yi-sqlsugar-dev.db",
|
"Url": "DataSource=yi-sqlsugar-dev.db",
|
||||||
"DbType": "Sqlite",
|
"DbType": "Sqlite",
|
||||||
"EnabledReadWrite": false,
|
"EnabledReadWrite": false,
|
||||||
"EnabledCodeFirst": false,
|
"EnabledCodeFirst": true,
|
||||||
"ReadUrl": [
|
"ReadUrl": [
|
||||||
"DataSource=[xxxx]", //Sqlite
|
"DataSource=[xxxx]", //Sqlite
|
||||||
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //Mysql
|
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //Mysql
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"EnabledDataSeed": false,
|
"EnabledDataSeed": true,
|
||||||
|
|
||||||
"JWTSettings": {
|
"JWTSettings": {
|
||||||
"ValidateIssuerSigningKey": true, // 是否验证密钥,bool 类型,默认true
|
"ValidateIssuerSigningKey": true, // 是否验证密钥,bool 类型,默认true
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user