| | | 1 | | namespace Syki.Shared; |
| | | 2 | | |
| | | 3 | | public class UserOut |
| | | 4 | | { |
| | 9122 | 5 | | public Guid Id { get; set; } |
| | 6556 | 6 | | public string Name { get; set; } |
| | 8552 | 7 | | public string Email { get; set; } |
| | 5874 | 8 | | public string Password { get; set; } |
| | 6560 | 9 | | public Guid InstitutionId { get; set; } |
| | 5472 | 10 | | public string Institution { get; set; } |
| | 5472 | 11 | | public string Role { get; set; } |
| | 4632 | 12 | | public bool Online { get; set; } |
| | 4632 | 13 | | public int Connections { get; set; } |
| | | 14 | | |
| | | 15 | | public static IEnumerable<(string, UserOut)> GetExamples() => |
| | 0 | 16 | | [ |
| | 0 | 17 | | ("Exemplo", |
| | 0 | 18 | | new UserOut |
| | 0 | 19 | | { |
| | 0 | 20 | | Id = Guid.CreateVersion7(), |
| | 0 | 21 | | Name = "Zaqueu Cavalcante", |
| | 0 | 22 | | Email = "zaqueu.cavalcante@gmail.com", |
| | 0 | 23 | | Password = "M1@Str0ngP4ssword#", |
| | 0 | 24 | | InstitutionId = Guid.CreateVersion7(), |
| | 0 | 25 | | Institution = "Universidade Federal Caruaruense", |
| | 0 | 26 | | Role = UserRole.Student.ToString() |
| | 0 | 27 | | }), |
| | 0 | 28 | | ]; |
| | | 29 | | } |