mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
18 lines
624 B
C#
18 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; }
|
|
}
|
|
}
|