aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http/User.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Models/Http/User.cs')
-rw-r--r--Timeline/Models/Http/User.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/Timeline/Models/Http/User.cs b/Timeline/Models/Http/User.cs
index 1de7fae2..3259a448 100644
--- a/Timeline/Models/Http/User.cs
+++ b/Timeline/Models/Http/User.cs
@@ -1,26 +1,26 @@
-using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations;
-namespace Timeline.Models.Http
-{
- public class UserPutRequest
- {
- [Required]
- public string Password { get; set; }
- [Required]
- public bool Administrator { get; set; }
- }
-
- public class UserPatchRequest
- {
- public string Password { get; set; }
- public bool? Administrator { get; set; }
- }
-
- public class ChangePasswordRequest
- {
- [Required]
- public string OldPassword { get; set; }
- [Required]
- public string NewPassword { get; set; }
- }
-}
+namespace Timeline.Models.Http
+{
+ public class UserPutRequest
+ {
+ [Required]
+ public string Password { get; set; }
+ [Required]
+ public bool Administrator { get; set; }
+ }
+
+ public class UserPatchRequest
+ {
+ public string Password { get; set; }
+ public bool? Administrator { get; set; }
+ }
+
+ public class ChangePasswordRequest
+ {
+ [Required]
+ public string OldPassword { get; set; }
+ [Required]
+ public string NewPassword { get; set; }
+ }
+}