Table of Contents

Class CompanyModificationRequestDto

Namespace
GastroSky.Models.DTO.Company
Assembly
GastroSky.Models.dll

Request DTO for the modification of a GastroSky.Models.DTO.Company's details.

public sealed class CompanyModificationRequestDto
Inheritance
CompanyModificationRequestDto
Inherited Members

Properties

Address

Company.Address

[Required]
public string Address { get; set; }

Property Value

string

BusinessIdentificationNumber

E.g. CHE-000.000.000

public string? BusinessIdentificationNumber { get; set; }

Property Value

string

CountryCodeISO

Company.CountryCodeISO

[Required]
[StringLength(3)]
public string CountryCodeISO { get; set; }

Property Value

string

Email

Company.Email

[Required]
[EmailAddress]
public string Email { get; set; }

Property Value

string

LocationId

[Required]
public long LocationId { get; set; }

Property Value

long

Name

New company name, including the legal form suffix.

[Required]
public string Name { get; set; }

Property Value

string

Phone

Company.Phone

[Required]
[Phone]
public string Phone { get; set; }

Property Value

string

ProfilePictureBytesBase64

New company's profile picture (base-64 encoded).

public string? ProfilePictureBytesBase64 { get; set; }

Property Value

string

WebsiteURL

Company.WebsiteURL

[Url]
public string? WebsiteURL { get; set; }

Property Value

string