File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33namespace Taskify . DTOs ;
44
5- public record TaskItemDto {
6- [ JsonProperty ( "title" ) ]
7- public string Title { get ; set ; }
8- [ JsonProperty ( "description" ) ]
9- public string Description { get ; set ; }
10- [ JsonProperty ( "dueDate" ) ]
11- public DateTime ? DueDate { get ; set ; }
12- [ JsonProperty ( "status" ) ]
13- public TaskStatus Status { get ; set ; }
14-
15- public int ? UserId { get ; set ; }
16- public User ? User { get ; set ; }
17- }
5+ public record TaskItemDto
6+ {
7+ [ JsonProperty ( "title" ) ]
8+ public string Title { get ; set ; }
9+
10+ [ JsonProperty ( "description" ) ]
11+ public string Description { get ; set ; }
12+
13+ [ JsonProperty ( "dueDate" ) ]
14+ public DateTime ? DueDate { get ; set ; }
15+
16+ [ JsonProperty ( "status" ) ]
17+ public TaskStatus Status { get ; set ; }
18+
19+ public int ? UserId { get ; set ; }
20+ public User ? User { get ; set ; }
21+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ public record UserLoginDto
44{
55 [ JsonProperty ( "username" ) ]
66 public string Username { get ; set ; }
7+
78 [ JsonProperty ( "password" ) ]
89 public string Password { get ; set ; }
910}
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ public record UserRegisterDto
44{
55 [ JsonProperty ( "username" ) ]
66 public string Username { get ; set ; }
7+
78 [ JsonProperty ( "password" ) ]
89 public string Password { get ; set ; }
10+
911 [ JsonProperty ( "email" ) ]
1012 public string Email { get ; set ; }
1113}
You can’t perform that action at this time.
0 commit comments