mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-08-01 11:26:53 +08:00
feat(config): add IsSecret property to Config
This commit is contained in:
@@ -14,4 +14,5 @@ public class Config : BaseModel
|
||||
|
||||
[StringLength(255)]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public bool IsSecret { get; set; } = false;
|
||||
}
|
||||
@@ -12,4 +12,6 @@ public record SetConfigRequest
|
||||
|
||||
[StringLength(255, ErrorMessage = "描述长度不能超过255个字符")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
public bool? IsSecret { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user