...
This commit is contained in:
13
Shared/DTOs/CompanyRegistrationDTO.cs
Normal file
13
Shared/DTOs/CompanyRegistrationDTO.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Shared.DTOs
|
||||
{
|
||||
public class CompanyRegistrationDTO
|
||||
{
|
||||
[MinLength(5)]
|
||||
public string CompanyName { get; set; }
|
||||
public string FullnameUser { get { return CompanyName; } }
|
||||
public string Mobile { get; set; }
|
||||
public string Username { get { return Mobile; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user