Spaces:
Running
Running
Download FlowAPI.Domain/Entities/Achievement.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 789 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Domain/Entities/Achievement.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Domain/Entities/Achievement.cs
-
curl -L -o Achievement.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Domain/Entities/Achievement.cs
789 Bytes
| using System; | |
| using FlowAPI.Domain.Enums; | |
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class Achievement | |
| { | |
| public Guid Id { get; set; } | |
| public string Title { get; set; } = string.Empty; | |
| public string Description { get; set; } = string.Empty; | |
| public string IconUrl { get; set; } = string.Empty; | |
| public string Category { get; set; } = string.Empty; | |
| public AchievementType Type { get; set; } | |
| public int TargetValue { get; set; } | |
| public int RewardPoints { get; set; } | |
| // This tells the backend what event triggers this achievement | |
| // e.g. "NodeCreated", "HabitCompleted", "EdgeCreated", "GraphDeleted" | |
| public string TriggerEventName { get; set; } = string.Empty; | |
| } | |
| } | |