mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
begin scaffolding data access layer
This commit is contained in:
23
DataAccessLayer/Photo.cs
Normal file
23
DataAccessLayer/Photo.cs
Normal 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>();
|
||||
}
|
||||
Reference in New Issue
Block a user