28 lines
1019 B
C#
28 lines
1019 B
C#
namespace Marco.Pms.Model.OrganizationModel
|
|
{
|
|
public class Organization
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string ContactPerson { get; set; } = string.Empty;
|
|
public string Address { get; set; } = string.Empty;
|
|
public string ContactNumber { get; set; } = string.Empty;
|
|
public double SPRID { get; set; }
|
|
public string? logoImage { get; set; }
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public Guid? CreatedById { get; set; }
|
|
|
|
//[ValidateNever]
|
|
//[ForeignKey("CreatedById")]
|
|
//public Employee? CreatedBy { get; set; }
|
|
public Guid? UpdatedById { get; set; }
|
|
|
|
//[ValidateNever]
|
|
//[ForeignKey("UpdatedById")]
|
|
//public Employee? UpdatedBy { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|