Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel.DataAnnotations;
|
---|
4 | using System.Diagnostics.CodeAnalysis;
|
---|
5 | using System.Linq;
|
---|
6 | using System.Text;
|
---|
7 | using System.Threading.Tasks;
|
---|
8 |
|
---|
9 | namespace Models.DataTransferObjects
|
---|
10 | {
|
---|
11 | public class LoginDTO
|
---|
12 | {
|
---|
13 | [EmailAddress]
|
---|
14 | [Required]
|
---|
15 | public string Email { get; set; }
|
---|
16 | public int UserId { get; set; }
|
---|
17 | [Required]
|
---|
18 | public string Password { get; set; }
|
---|
19 | public string? FirstName { get; set; }
|
---|
20 | public bool ValidPassword { get; set; }
|
---|
21 | public bool ValidEmail { get; set; }
|
---|
22 | public string? Claim { get; set; }
|
---|
23 |
|
---|
24 | }
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.