mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 16:43:20 +00:00
19 lines
624 B
C#
19 lines
624 B
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? 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; }
|
|||
|
|
}
|
|||
|
|
}
|