chore: 🔨 模型约束修改 (#85)

This commit is contained in:
2024-01-26 16:57:02 +08:00
committed by GitHub
parent 6615df3399
commit 339a15e024
11 changed files with 33 additions and 39 deletions

View File

@@ -26,6 +26,6 @@ public record CreateDeptReq : Sys_Dept
public override long Sort { get; init; } = Numbers.DEF_SORT_VAL;
/// <inheritdoc cref="IFieldSummary.Summary" />
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public override string Summary { get; init; }
}