54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
using Fitness_core_BE.Models.Enums;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Fitness_core_BE.Models
|
|
{
|
|
public class ClientBusiness
|
|
{
|
|
[Key]
|
|
public Guid Bid { get; set; }
|
|
|
|
public Guid? FKClientId { get; set; }
|
|
[ForeignKey("FKClientId")]
|
|
public virtual Client Client { get; set; }
|
|
|
|
public BusinessType BusinessType { get; set; }
|
|
|
|
public string? BusinessName { get; set; }
|
|
|
|
public string? BusinessLogoId { get; set; }
|
|
public string? Description { get; set; }
|
|
|
|
// Pysical Location
|
|
public bool IsPysicalLocation { get; set; } = true;
|
|
public string? Address { get; set; }
|
|
public string? City { get; set; }
|
|
public string? Facilities { get; set; }
|
|
|
|
//Coach
|
|
public string? CoachingMode { get; set; }
|
|
public string? Expertise { get; set; }
|
|
public string? Gender { get; set; }
|
|
|
|
public string? ExperienceYears { get; set; }
|
|
public string? SessionType { get; set; }
|
|
|
|
|
|
//Product Store
|
|
public string? StoreType { get; set; }
|
|
public string? ProductCategory { get; set; }
|
|
public string? DeliveryAvailable { get; set; }
|
|
|
|
//Geo Location
|
|
public double? Latitude { get; set; }
|
|
public double? Longitude { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime createdAt { get; set; } = DateTime.UtcNow;
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|