src/settings/dto/settings.dto.ts
Properties |
| ambiente |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/settings/dto/settings.dto.ts:51
|
| cdConfiguracao |
Type : number
|
Decorators :
@ApiProperty()
|
|
Defined in src/settings/dto/settings.dto.ts:47
|
| hmsdb |
Type : string
|
Decorators :
@ApiProperty({maxLength: 30})
|
|
Defined in src/settings/dto/settings.dto.ts:55
|
| name |
Type : string
|
Decorators :
@ApiProperty({maxLength: 10})
|
|
Defined in src/settings/dto/settings.dto.ts:53
|
| type |
Type : number
|
Decorators :
@ApiProperty({enum: undefined})
|
|
Defined in src/settings/dto/settings.dto.ts:45
|
| warehouseLocation |
Type : string
|
Decorators :
@ApiProperty({maxLength: 255})
|
|
Defined in src/settings/dto/settings.dto.ts:57
|
| workloadId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/settings/dto/settings.dto.ts:49
|
import { ApiProperty } from "@nestjs/swagger";
export class SettingsResultDto {
@ApiProperty()
cdConfiguracao: number;
@ApiProperty()
tpConfiguracao: number;
@ApiProperty()
cdPessoa: number;
@ApiProperty()
hmsdb: string;
@ApiProperty()
nmConfiguracao: string;
@ApiProperty()
warehouseLocation: string;
@ApiProperty()
workloadId: string;
@ApiProperty()
createdAt: Date;
@ApiProperty()
updatedAt: Date;
@ApiProperty()
cdUsuario: number;
@ApiProperty()
ambiente: string;
@ApiProperty()
dtCriacaoAmbiente: Date;
}
export class CreateSettingsBody {
@ApiProperty({ enum: [1, 2] })
type: number
@ApiProperty()
clientId: number
@ApiProperty({ maxLength: 10 })
name: string
@ApiProperty({ maxLength: 30 })
hmsdb: string
@ApiProperty({ maxLength: 255 })
warehouseLocation: string
}
export class UpdateSettingsBody {
@ApiProperty({ enum: [1, 2] })
type: number
@ApiProperty()
cdConfiguracao: number
@ApiProperty()
workloadId: string
@ApiProperty()
ambiente: string
@ApiProperty({ maxLength: 10 })
name: string
@ApiProperty({ maxLength: 30 })
hmsdb: string
@ApiProperty({ maxLength: 255 })
warehouseLocation: string
}
export class ListSuppliers {
@ApiProperty()
cdConfiguracao: number;
@ApiProperty()
cdFornecedor: number;
@ApiProperty()
createdAt: Date;
@ApiProperty()
updatedAt: Date;
}
export class ListDistributors {
@ApiProperty()
cdConfiguracao: number;
@ApiProperty()
cdIntermediario: number;
@ApiProperty()
createdAt: Date;
@ApiProperty()
updatedAt: Date;
}