Files
jobtrackingapp/Models/Attachments.cs
T
2026-03-21 11:55:27 +01:00

20 lines
584 B
C#

using System;
using System.Text.Json.Serialization;
namespace JobTrackerApi.Models
{
public class Attachment
{
public int Id { get; set; }
public int JobApplicationId { get; set; }
[JsonIgnore]
public JobApplication JobApplication { get; set; } = null!;
public string FileName { get; set; } = "";
public string FilePath { get; set; } = "";
public DateTime UploadDate { get; set; } = DateTime.Now;
public string FileType { get; set; } = ""; // e.g., PDF, DOCX
public long FileSize { get; set; }
}
}