2025-02-24 10:32:41 +05:30
|
|
|
import { ApiProperty } from "@nestjs/swagger";
|
2025-11-12 12:18:44 +00:00
|
|
|
import { IsNumber, IsString, IsOptional } from "class-validator";
|
2025-02-24 10:32:41 +05:30
|
|
|
|
2025-08-28 17:16:55 +05:30
|
|
|
|
|
|
|
|
export class PCT_VALUE_DTO {
|
|
|
|
|
@ApiProperty({ required: true })
|
|
|
|
|
@IsString()
|
|
|
|
|
P_PCT_VALUE: string;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-24 10:32:41 +05:30
|
|
|
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 {
|
2025-11-12 12:10:04 +00:00
|
|
|
@ApiProperty({ required: false })
|
2025-11-12 12:18:44 +00:00
|
|
|
@IsOptional()
|
2025-11-12 12:14:49 +00:00
|
|
|
@IsString({ message: 'Property P_SPCLCOMMODITY must be a string' })
|
2025-11-12 12:18:44 +00:00
|
|
|
P_SPCLCOMMODITY?: string | null;
|
2025-02-24 10:32:41 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class SPCLCOUNTRY_DTO {
|
2025-11-12 12:10:04 +00:00
|
|
|
@ApiProperty({ required: false })
|
2025-11-12 12:18:44 +00:00
|
|
|
@IsString({ message: 'Property P_SPCLCOUNTRY must be a string' })
|
2025-02-24 10:32:41 +05:30
|
|
|
P_SPCLCOUNTRY: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|