Download ContactManagementAPI/Models/AppUser.cs from abrahamcbe/contact-management-system: direct link, hf CLI and curl.
- Browser
- Download file 859 Bytes
-
https://huggingface.co/spaces/abrahamcbe/contact-management-system/resolve/main/ContactManagementAPI/Models/AppUser.cs
- Command line
-
hf download hf://spaces/abrahamcbe/contact-management-system/ContactManagementAPI/Models/AppUser.cs
-
curl -L -o AppUser.cs https://huggingface.co/spaces/abrahamcbe/contact-management-system/resolve/main/ContactManagementAPI/Models/AppUser.cs
859 Bytes
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel.DataAnnotations; | |
| namespace ContactManagementAPI.Models | |
| { | |
| public class AppUser | |
| { | |
| public int Id { get; set; } | |
| [] | |
| [] | |
| public string UserName { get; set; } = string.Empty; | |
| [] | |
| public string PasswordHash { get; set; } = string.Empty; | |
| [] | |
| public string? FullName { get; set; } | |
| public bool IsAdmin { get; set; } | |
| public bool IsActive { get; set; } = true; | |
| [] | |
| public int GroupId { get; set; } | |
| public UserGroup? Group { get; set; } | |
| public DateTime CreatedAt { get; set; } | |
| public DateTime UpdatedAt { get; set; } | |
| public ICollection<UserRight> UserRights { get; set; } = new List<UserRight>(); | |
| } | |
| } | |