mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-09-19 20:02:41 +08:00
style: 💄 代码整理 (#88)
This commit is contained in:
@@ -22,7 +22,8 @@ public record CreateSiteMsgReq : Sys_SiteMsg
|
||||
|
||||
/// <inheritdoc cref="Sys_SiteMsg.MsgType" />
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[EnumDataType(typeof(SiteMsgTypes))]
|
||||
[EnumDataType(typeof(SiteMsgTypes), ErrorMessageResourceType = typeof(Ln)
|
||||
, ErrorMessageResourceName = nameof(Ln.站内信类型不正确))]
|
||||
public override SiteMsgTypes MsgType { get; init; }
|
||||
|
||||
/// <summary>
|
||||
|
@@ -40,7 +40,7 @@ public sealed record QuerySiteMsgRsp : Sys_SiteMsg
|
||||
/// <summary>
|
||||
/// 我的标记
|
||||
/// </summary>
|
||||
public QuerySiteMsgFlagRsp MyFlags { get; set; }
|
||||
public QuerySiteMsgFlagRsp MyFlags { get; init; }
|
||||
|
||||
/// <inheritdoc cref="Sys_SiteMsg.Roles" />
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
|
Reference in New Issue
Block a user