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

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace DataAccessLayer;
public partial class BeerPost
{
public Guid BeerPostID { get; set; }
public string Name { get; set; } = null!;
public string Description { get; set; } = null!;
public decimal ABV { get; set; }
public int IBU { get; set; }
public Guid PostedByID { get; set; }
public Guid BeerStyleID { get; set; }
public Guid BrewedByID { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
public virtual ICollection<BeerPostPhoto> BeerPostPhotos { get; set; } = new List<BeerPostPhoto>();
public virtual BeerStyle BeerStyle { get; set; } = null!;
public virtual BreweryPost BrewedBy { get; set; } = null!;
public virtual UserAccount PostedBy { get; set; } = null!;
}