Should be it

This commit is contained in:
phoenix
2025-04-03 20:58:58 -04:00
parent 60b07a7065
commit 82cee2ca59
3 changed files with 39 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.cs]
# Use 'var' when possible
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
# Use expression body for methods
csharp_style_expression_bodied_methods = true:silent
+19
View File
@@ -0,0 +1,19 @@
# Top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.cs]
# Use 'var' when possible
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
# Use expression body for methods
csharp_style_expression_bodied_methods = true:silent
+1
View File
@@ -7,6 +7,7 @@ public class AccessLevel
{ {
#region Properties #region Properties
[Newtonsoft.Json.JsonProperty("id")] [Newtonsoft.Json.JsonProperty("id")]
[Key]
public Guid Id { get; set; } public Guid Id { get; set; }
[Newtonsoft.Json.JsonProperty("level")] [Newtonsoft.Json.JsonProperty("level")]
public string? Level { get; set; } public string? Level { get; set; }