fronted: login
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user