Spaces:
Runtime error
Runtime error
almakhmri253-stack
security hardening: rate limiting, account lockout, security headers, password strength
8a2f194 Download Models/User.cs from azizproject/majlis: direct link, hf CLI and curl.
- Browser
- Download file 658 Bytes
-
https://huggingface.co/spaces/azizproject/majlis/resolve/main/Models/User.cs
- Command line
-
hf download hf://spaces/azizproject/majlis/Models/User.cs
-
curl -L -o User.cs https://huggingface.co/spaces/azizproject/majlis/resolve/main/Models/User.cs
658 Bytes
| namespace MajlisManagement.Models; | |
| public class User | |
| { | |
| public int Id { get; set; } | |
| public string FullName { get; set; } = string.Empty; | |
| public string PhoneNumber { get; set; } = string.Empty; | |
| public string Email { get; set; } = string.Empty; | |
| public string PasswordHash { get; set; } = string.Empty; | |
| public string Role { get; set; } = "User"; // Admin | User | |
| public bool IsActive { get; set; } = true; | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| public ICollection<Booking> Bookings { get; set; } = new List<Booking>(); | |
| public ICollection<Complaint> Complaints { get; set; } = new List<Complaint>(); | |
| } | |