shoc-backend/Data.SeaHavenIndustries/Models/Comments.cs
2024-09-28 14:58:36 -04:00

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; }
}
}