mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
begin scaffolding data access layer
This commit is contained in:
35
DataAccessLayer/BeerPost.cs
Normal file
35
DataAccessLayer/BeerPost.cs
Normal 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!;
|
||||
}
|
||||
Reference in New Issue
Block a user