mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 09:33:13 +00:00
37 lines
1.4 KiB
C#
37 lines
1.4 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using static System.Runtime.InteropServices.JavaScript.JSType;
|
|
|
|
namespace Data.SeaHavenIndustries
|
|
{
|
|
public class Quotes : FullAuditEntity
|
|
{
|
|
public string? QuotId { get; set; }
|
|
public DateTime? Date { get; set; }
|
|
public string? TT { get; set; }
|
|
public string? PO { get; set; }
|
|
public int? ContactId { get; set; }
|
|
[ForeignKey(nameof(ContactId))]
|
|
public virtual Contacts? Contacts { get; set; }
|
|
public int? WorkorderId { get; set; }
|
|
[ForeignKey(nameof(WorkorderId))]
|
|
public virtual WorkOrder? WorkOrder { get; set; }
|
|
public string? ProjectName { get; set; }
|
|
public string? SiteName { get; set; }
|
|
public string? SiteId { get; set; }
|
|
public string? Status { get; set; }
|
|
public string? BillingAddress { get; set; }
|
|
public string? ShippingAddress { get; set; }
|
|
public ICollection<QuotesLineItems>? LineItems { get; set; }
|
|
}
|
|
public class QuotesLineItems : FullAuditEntity
|
|
{
|
|
public int? LineitemNumber { get; set; }
|
|
public decimal? Lineitem { get; set; }
|
|
public string? Descriptions { get; set; }
|
|
public int? QuoteId { get; set; }
|
|
[ForeignKey(nameof(QuoteId))]
|
|
public virtual Quotes? Quotes { get; set; }
|
|
|
|
}
|
|
}
|