26 lines
810 B
C#
26 lines
810 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Marco.Pms.Model.Industries;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
|
|
namespace Marco.Pms.Model.Entitlements
|
|
{
|
|
public class Tenant
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? DomainName { get; set; }
|
|
public string? ContactName { get; set; }
|
|
public string? ContactNumber { get; set; }
|
|
public DateTime OnBoardingDate { get; set; }
|
|
public string? OragnizationSize { get; set; }
|
|
public int? IndustryId { get;set; }
|
|
|
|
[ForeignKey("IndustryId")]
|
|
[ValidateNever]
|
|
public Industry? Industry{ get; set; }
|
|
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|