mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-05 15:49:09 +00:00
27 lines
546 B
TypeScript
27 lines
546 B
TypeScript
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
|
export class OrganizationUpdateRequest {
|
|
@ApiProperty()
|
|
name: string;
|
|
@ApiPropertyOptional()
|
|
companySite: string;
|
|
@ApiProperty()
|
|
domain: string;
|
|
@ApiPropertyOptional()
|
|
info: string;
|
|
@ApiPropertyOptional()
|
|
cnpj: string;
|
|
}
|
|
|
|
export class OrganizationResponse {
|
|
@ApiProperty()
|
|
name: string;
|
|
@ApiPropertyOptional()
|
|
companySite: string;
|
|
@ApiProperty()
|
|
domain: string;
|
|
@ApiPropertyOptional()
|
|
info: string;
|
|
@ApiPropertyOptional()
|
|
cnpj: string;
|
|
} |