mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 22:23:12 +00:00
29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using static System.Runtime.InteropServices.JavaScript.JSType;
|
|
|
|
namespace Data.SeaHavenIndustries
|
|
{
|
|
public class Comments : FullAuditEntity
|
|
{
|
|
public string? Commenttext { get; set; }
|
|
public string? Commenter { get; set; }
|
|
public string? RecordType { get; set; }
|
|
public string? CommentType { get; set; }
|
|
public string? ExternalCommentId { get; set; }
|
|
public string? ExternalSource { get; set; }
|
|
public DateTimeOffset? ExternalUpdatedAt { get; set; }
|
|
public string? ExternalVersionHash { get; set; }
|
|
public string? ExternalSourceEmailS3Key { get; set; }
|
|
public string? Documents { get; set; }
|
|
public string? UserId { get; set; }
|
|
[ForeignKey(nameof(UserId))]
|
|
public virtual ApplicationUser? ApplicationUser { get; set; }
|
|
public int? WorkerOrderId { get; set; }
|
|
[ForeignKey(nameof(WorkerOrderId))]
|
|
public virtual WorkOrder? WorkOrder { get; set; }
|
|
public int? DispatchId { get; set; }
|
|
[ForeignKey(nameof(DispatchId))]
|
|
public virtual Dispatch? Dispatch { get; set; }
|
|
}
|
|
}
|