mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 08:23:12 +00:00
31 lines
1 KiB
C#
31 lines
1 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using static System.Runtime.InteropServices.JavaScript.JSType;
|
|
|
|
namespace Data.SeaHavenIndustries
|
|
{
|
|
public class Locations : FullAuditEntity
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Title { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Latitude { get; set; }
|
|
public string? Longitude { get; set; }
|
|
|
|
// Address fields - match actual database columns
|
|
public string? Address1 { get; set; }
|
|
public string? Address2 { get; set; }
|
|
public string? City { get; set; }
|
|
public string? State { get; set; }
|
|
public string? Zip { get; set; }
|
|
|
|
// Contact fields - match actual database columns
|
|
public string? PhoneNumber { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
// Navigation Properties
|
|
public ICollection<Template>? Templates { get; set; }
|
|
public ICollection<WorkOrder>? workOrders { get; set; }
|
|
}
|
|
}
|