126 lines
2.5 KiB
TypeScript
126 lines
2.5 KiB
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
import { IsNumber, IsString, IsOptional } from "class-validator";
|
|
|
|
|
|
export class PCT_VALUE_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsString()
|
|
P_PCT_VALUE: string;
|
|
}
|
|
|
|
export class EFFDATE_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsString()
|
|
P_EFFDATE: string;
|
|
}
|
|
|
|
export class FEES_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_FEES: number;
|
|
}
|
|
|
|
export class SPCLCOMMODITY_DTO {
|
|
@ApiProperty({ required: false })
|
|
@IsOptional()
|
|
@IsString({ message: 'Property P_SPCLCOMMODITY must be a string' })
|
|
P_SPCLCOMMODITY?: string | null;
|
|
}
|
|
|
|
export class SPCLCOUNTRY_DTO {
|
|
@ApiProperty({ required: false })
|
|
@IsOptional()
|
|
@IsString({ message: 'Property P_SPCLCOUNTRY must be a string' })
|
|
P_SPCLCOUNTRY?: string | null;
|
|
}
|
|
|
|
export class RATE_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_RATE: number;
|
|
}
|
|
|
|
export class STARTSETS_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_STARTSETS: number;
|
|
}
|
|
|
|
export class ENDSETS_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_ENDSETS: number;
|
|
}
|
|
|
|
export class CUSTOMERTYPE_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsString()
|
|
P_CUSTOMERTYPE: string;
|
|
}
|
|
|
|
export class STARTTIME_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_STARTTIME: number;
|
|
}
|
|
|
|
export class ENDTIME_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_ENDTIME: number;
|
|
}
|
|
|
|
export class TIMEZONE_DTO {
|
|
|
|
@ApiProperty({ required: true })
|
|
@IsString()
|
|
P_TIMEZONE: string;
|
|
}
|
|
|
|
export class COMMRATE_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_COMMRATE: number;
|
|
}
|
|
|
|
export class BASICFEESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_BASICFEESETUPID: number;
|
|
}
|
|
|
|
export class BONDRATESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_BONDRATESETUPID: number;
|
|
}
|
|
|
|
export class CARGORATESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_CARGORATESETUPID: number;
|
|
}
|
|
|
|
export class CFFEESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_CFFEESETUPID: number;
|
|
}
|
|
|
|
export class CSFEESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_CSFEESETUPID: number;
|
|
}
|
|
|
|
export class EFFEESETUPID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_EFFEESETUPID: number;
|
|
}
|
|
|
|
export class FEECOMMID_DTO {
|
|
@ApiProperty({ required: true })
|
|
@IsNumber()
|
|
P_FEECOMMID: number;
|
|
} |