Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace PowderCoating.Core.Entities;
|
||||
|
||||
public class QuotePhoto : BaseEntity
|
||||
{
|
||||
public int? QuoteId { get; set; } // null while in temp/pending state
|
||||
public string TempId { get; set; } = string.Empty; // GUID key used before quote is saved
|
||||
public string FilePath { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public long FileSize { get; set; }
|
||||
public string ContentType { get; set; } = string.Empty;
|
||||
public string? Caption { get; set; }
|
||||
public bool IsAiAnalysisPhoto { get; set; } = true;
|
||||
public string? UploadedById { get; set; }
|
||||
|
||||
// Relationships
|
||||
public virtual Quote? Quote { get; set; }
|
||||
public virtual ApplicationUser? UploadedBy { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user