adjust the fields realizations

This commit is contained in:
fadlydev
2025-01-31 02:59:22 +07:00
parent aac8d290f0
commit 28e2d701c5

View File

@ -110,38 +110,35 @@ export class AssetRealization {
nullable: true, nullable: true,
type: 'float', type: 'float',
}) })
excess_quantity: number; // Stores the extra quantity received excess_quantity: number;
@Column({
nullable: true,
type: 'float',
})
insufficient_quantity: number;
@Column({ @Column({
nullable: true, nullable: true,
type: 'float', type: 'float',
}) })
insufficient_quantity: number; // Stores the missing quantity excess_nominal: number;
@Column({ @Column({
nullable: true, nullable: true,
type: 'float', type: 'float',
}) })
excess_nominal: number; // Stores the monetary value of excess quantity insufficient_nominal: number;
@Column({
nullable: true,
type: 'float',
})
insufficient_nominal: number; // Stores the monetary value of insufficient quantity
// Image Evidence for Excess and Insufficient Quantity
@Column({
nullable: true,
type: 'text',
})
insufficient_quantity_images: string; // Stores URLs for insufficient quantity evidence
@Column({ @Column({
nullable: true, nullable: true,
type: 'text', type: 'text',
}) })
excess_quantity_images: string; // Stores URLs for excess quantity evidence insufficient_quantity_images: string;
@Column({
nullable: true,
type: 'text',
})
excess_quantity_images: string;
@Column({ @Column({
type: 'varchar', type: 'varchar',