| | 1 | | namespace Syki.Shared; |
| | 2 | |
|
| | 3 | | public class UserOut |
| | 4 | | { |
| 8282 | 5 | | public Guid Id { get; set; } |
| 5940 | 6 | | public string Name { get; set; } |
| 7808 | 7 | | public string Email { get; set; } |
| 5290 | 8 | | public string Password { get; set; } |
| 5944 | 9 | | public Guid InstitutionId { get; set; } |
| 4934 | 10 | | public string Institution { get; set; } |
| 4934 | 11 | | public string Role { get; set; } |
| 4176 | 12 | | public bool Online { get; set; } |
| 4176 | 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 | | } |