Class CompanyCreationRequestDto
Request DTO for creating a new GastroSky.Models.DTO.Company.
public sealed class CompanyCreationRequestDto
- Inheritance
-
CompanyCreationRequestDto
- Inherited Members
Properties
Address
Company address.
[Required]
public string Address { get; set; }
Property Value
BusinessIdentificationNumber
E.g. CHE-000.000.000
public string? BusinessIdentificationNumber { get; set; }
Property Value
CountryCodeISO
Company address country code (ISO, 3-letter string).
[Required]
[StringLength(3)]
public string CountryCodeISO { get; set; }
Property Value
Company email address.
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
LocationId
[Required]
public long LocationId { get; set; }
Property Value
Name
Company name (including legal form suffix).
[Required]
public string Name { get; set; }
Property Value
Phone
Company phone number.
[Required]
[Phone]
public string Phone { get; set; }
Property Value
ProfilePictureBytesBase64
Profile picture, Base64-encoded.
public string? ProfilePictureBytesBase64 { get; set; }
Property Value
UserId
User.Id of the GastroSky.Models.DTO.User with which to associate the newly created GastroSky.Models.DTO.Company.
public long? UserId { get; set; }
Property Value
- long?
WebsiteURL
The company's website URL.
[Url]
public string? WebsiteURL { get; set; }