45 lines
1.4 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace Marco.Pms.Model.Dtos.Tenant
{
public class CreateTenantDto
{
[Required]
public string Username { get; set; }
[Required]
[EmailAddress]
public string Email { get; set; }
[Required]
[MinLength(6)]
[RegularExpression(@"^(?=.*[^a-zA-Z0-9])(?=.*\d)(?=.*[A-Z]).+$", ErrorMessage = "Passwords must have at least one non-alphanumeric character, at least one digit ('0'-'9'), and at least one uppercase ('A'-'Z').")]
public string Password { get; set; }
public string OrganizatioinName { get; set; }
public string? About { get; set; }
public string? OragnizationSize { get; set; }
public int IndustryId { get; set; }
public string Website { get; set; }
public string Name { get; set; }
public string ContactNumber { get; set; }
public DateTime OnBoardingDate { get; set; }
//public string Gender { get; set; }
//public string? BirthDate { get; set; }
//public DateTime JoiningDate { get; set; }
//public string? PeramnentAddress { get; set; }
//public string? CurrentAddress { get; set; }
//public string EmergencyPhoneNumber { get; set; }
//public string EmergencyContactPerson { get; set; }
//public string? AadharNumber { get; set; }
//public string? PanNumber { get; set; }
}
}