First Commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user