mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Integrate SeaweedFS for S3-compatible file storage and photo upload (#254)
This commit is contained in:
17
web/backend/Domain/Domain.Entities/Entities/Photo.cs
Normal file
17
web/backend/Domain/Domain.Entities/Entities/Photo.cs
Normal file
@@ -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