No longer save file with same hash

This commit is contained in:
2025-05-18 16:52:00 +08:00
parent 18fde9f16c
commit 5b9b28d77a
9 changed files with 185 additions and 30 deletions

View File

@ -63,9 +63,9 @@ public class Profile : ModelBase
(Experience - Leveling.ExperiencePerLevel[Level]) * 100.0 /
(Leveling.ExperiencePerLevel[Level + 1] - Leveling.ExperiencePerLevel[Level]);
public string? PictureId { get; set; }
[MaxLength(32)] public string? PictureId { get; set; }
public Storage.CloudFile? Picture { get; set; }
public string? BackgroundId { get; set; }
[MaxLength(32)] public string? BackgroundId { get; set; }
public Storage.CloudFile? Background { get; set; }
public Guid AccountId { get; set; }