Spaces:
Running
Running
Download FlowAPI.Domain/Entities/User.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/User.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/User.cs
-
curl -L -o User.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/User.cs
858 Bytes
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class User | |
| { | |
| public Guid Id { get; set; } | |
| public string Email { get; set; } = string.Empty; | |
| public string PasswordHash { get; set; } = string.Empty; | |
| public string DisplayName { get; set; } = string.Empty; | |
| public bool IsPremium { get; set; } | |
| public string? AvatarUrl { get; set; } | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| // Navigation properties | |
| public ICollection<Graph> Graphs { get; set; } = new List<Graph>(); | |
| public ICollection<HabitRecord> HabitRecords { get; set; } = new List<HabitRecord>(); | |
| public ICollection<UserAchievement> UserAchievements { get; set; } = new List<UserAchievement>(); | |
| public ICollection<SharedGraph> SharedGraphs { get; set; } = new List<SharedGraph>(); | |
| } | |
| } | |