using System; using System.ComponentModel.DataAnnotations.Schema; using static System.Runtime.InteropServices.JavaScript.JSType; namespace Data.SeaHavenIndustries { public class Template : FullAuditEntity { public string? WorkerOrderNumber { get; set; } public string? WorkerOrderTitle { get; set; } public string? Description { get; set; } public string? PO { get; set; } public string? TT { get; set; } public string? AssignTo { get; set; } [ForeignKey(nameof(AssignTo))] public virtual ApplicationUser? AssignToUser { get; set; } public DateTime? DueDate { get; set; } public string? Priority { get; set; } public int? ContactId { get; set; } [ForeignKey(nameof(ContactId))] public virtual Contacts? POC { get; set; } public string? Status { get; set; } public int? LocationId { get; set; } [ForeignKey(nameof(LocationId))] public virtual Locations? Locations { get; set; } public int? CategoryId { get; set; } [ForeignKey(nameof(CategoryId))] public virtual Category? Category { get; set; } public string? Attachments { get; set; } public string? BeforPhotoIssue { get; set; } public string? BeforPhotoAttachment { get; set; } public string? AfterPhotoIssue { get; set; } public string? AfterPhotoAttachment { get; set; } public string? SignOffName { get; set; } public string? SignOffSignature { get; set; } public string? SignOffAttachment { get; set; } } }