shoc-backend/Data.SeaHavenIndustries/Models/Locations.cs

28 lines
1,014 B
C#
Raw Normal View History

2024-09-28 14:58:36 -04:00
using System;
using System.ComponentModel.DataAnnotations.Schema;
using static System.Runtime.InteropServices.JavaScript.JSType;
namespace Data.SeaHavenIndustries
{
public class Locations : FullAuditEntity
{
public string? Title { get; set; }
public string? Name { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? ZipCode { get; set; }
public string? Phone { get; set; }
public string? Contact { get; set; }
public string? ContactEmail { get; set; }
public string? Status { get; set; }
2024-09-28 14:58:36 -04:00
public string? Latitude { get; set; }
public string? Longitude { get; set; }
public int? AccountId { get; set; }
[ForeignKey("AccountId")]
public Accounts? Account { get; set; }
2024-09-28 14:58:36 -04:00
public ICollection<Template>? Templates { get; set; }
public ICollection<WorkOrder>? workOrders { get; set; }
}
}