Spaces:
Paused
Paused
File size: 605 Bytes
70556b7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | using Entities.Interfaces;
namespace Entities.Models
{
public class File : IDbEntity
{
public int Id { get; set; }
public string FileName { get; set; }
public string FilePath { get; set; }
public string ContentType { get; set; }
public long FileSize { get; set; }
public DateTime UploadedAt { get; set; } = DateTime.UtcNow;
// Navigation properties
public int? OrderId { get; set; }
public virtual Order? Order { get; set; }
public int? UserId { get; set; }
public virtual User? User { get; set; }
}
}
|