Add BeerStyle entity and related properties; refactor BreweryDto to remove BeerPosts

This commit is contained in:
Aaron Po
2026-08-19 20:20:42 -04:00
parent 2b2df0053f
commit 0db29f431c
8 changed files with 78 additions and 51 deletions

View File

@@ -0,0 +1,16 @@
namespace Domain.Entities;
public sealed class BeerStyle
{
// PK
public Guid BeerStyleId { get; set; } = Guid.Empty;
// Attributes
public string BeerStyleName { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
// Audit Fields
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
public byte[]? RowVersion { get; set; }
}