fronted: login

This commit is contained in:
2025-08-15 20:03:07 +02:00
parent f61b48fa4b
commit 1b2d95344a
184 changed files with 5238 additions and 232 deletions

View File

@@ -6,6 +6,8 @@ namespace back.DataModels;
[Table("Galleries")]
public class GalleryModel
{
public GalleryModel() { }
[Key]
public string Id { get; set; }
[MaxLength(100)]
@@ -16,7 +18,8 @@ public class GalleryModel
public DateTime? UpdatedAt { get; set; }
public string? CreatedBy { get; set; }
public string? UpdatedBy { get; set; }
public List<PhotoModel> Photos { get; set; } = new();
[ForeignKey("PhotoId")]
public List<PhotoModel> Photos { get; set; } = [];
public bool? IsPublic { get; set; } = true;
public bool? IsArchived { get; set; } = false;
public bool? IsFavorite { get; set; } = false;