begin scaffolding data access layer

This commit is contained in:
Aaron Po
2025-10-28 18:28:30 -04:00
parent 2f0bfd90b2
commit 738c055bf7
18 changed files with 1071 additions and 3 deletions

23
DataAccessLayer/Photo.cs Normal file
View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace DataAccessLayer;
public partial class Photo
{
public Guid PhotoID { get; set; }
public string? Hyperlink { get; set; }
public Guid UploadedByID { get; set; }
public DateTime UploadedAt { get; set; }
public virtual ICollection<BeerPostPhoto> BeerPostPhotos { get; set; } = new List<BeerPostPhoto>();
public virtual ICollection<BreweryPostPhoto> BreweryPostPhotos { get; set; } = new List<BreweryPostPhoto>();
public virtual UserAccount UploadedBy { get; set; } = null!;
public virtual ICollection<UserAvatar> UserAvatars { get; set; } = new List<UserAvatar>();
}