mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Add Photo domain entity
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
namespace Domain.Entities;
|
||||||
|
|
||||||
|
public sealed class Photo
|
||||||
|
{
|
||||||
|
// PK
|
||||||
|
public Guid PhotoId { get; set; }
|
||||||
|
|
||||||
|
// FK References
|
||||||
|
public Guid UploadedById { get; set; }
|
||||||
|
|
||||||
|
// Attributes
|
||||||
|
public string? Hyperlink { get; set; }
|
||||||
|
|
||||||
|
// Audit Fields
|
||||||
|
public DateTime UploadedAt { get; set; }
|
||||||
|
public byte[]? RowVersion { get; set; }
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user