This commit is contained in:
natib21
2026-06-30 02:33:29 +00:00
parent 1c1e98960e
commit 76b25bd214
3 changed files with 4 additions and 23 deletions

View File

@@ -35,8 +35,8 @@ export class FirstMile extends BaseEntity {
@Column({ name: 'remaining_payment', type: 'numeric', precision: 14, scale: 2, default: 0 })
remainingPayment!: number;
// @Column({ type: 'boolean', default: false })
// isPostPaymentCompleted!: boolean;
@Column({ type: 'boolean', default: false })
isPostPaymentCompleted!: boolean;
@Column({ name: 'estimated_km', type: 'numeric', precision: 10, scale: 2, nullable: true })
estimatedKm?: number | null;

View File

@@ -35,8 +35,8 @@ export class LastMile extends BaseEntity {
@Column({ name: 'remaining_payment', type: 'numeric', precision: 14, scale: 2, default: 0 })
remainingPayment!: number;
// @Column({ type: 'boolean', default: false })
// isPostPaymentCompleted!: boolean;
@Column({ type: 'boolean', default: false })
isPostPaymentCompleted!: boolean;
@Column({ name: 'estimated_km', type: 'numeric', precision: 10, scale: 2, nullable: true })
estimatedKm?: number | null;