Spaces:
Runtime error
Runtime error
almakhmri253-stack
security hardening: rate limiting, account lockout, security headers, password strength
8a2f194 Download Models/MajlisEvent.cs from azizproject/majlis: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/azizproject/majlis/resolve/main/Models/MajlisEvent.cs
- Command line
-
hf download hf://spaces/azizproject/majlis/Models/MajlisEvent.cs
-
curl -L -o MajlisEvent.cs https://huggingface.co/spaces/azizproject/majlis/resolve/main/Models/MajlisEvent.cs
551 Bytes
| namespace MajlisManagement.Models; | |
| public class MajlisEvent | |
| { | |
| public int Id { get; set; } | |
| public string Title { get; set; } = string.Empty; | |
| public string? Description { get; set; } | |
| public string? MediaPath { get; set; } | |
| public string MediaType { get; set; } = "none"; // "image" | "video" | "none" | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| public int CreatedByUserId { get; set; } | |
| public User? CreatedBy { get; set; } | |
| public ICollection<EventMedia> Media { get; set; } = new List<EventMedia>(); | |
| } | |