erp-construccion-backend/dist/modules/contracts/entities/contract-addendum.entity.d.ts

41 lines
1.2 KiB
TypeScript

/**
* ContractAddendum Entity
* Addendas y modificaciones a contratos
*
* @module Contracts
* @table contracts.contract_addendums
*/
import { Tenant } from '../../core/entities/tenant.entity';
import { User } from '../../core/entities/user.entity';
import { Contract } from './contract.entity';
export type AddendumType = 'extension' | 'amount_increase' | 'amount_decrease' | 'scope_change' | 'termination' | 'other';
export type AddendumStatus = 'draft' | 'review' | 'approved' | 'rejected';
export declare class ContractAddendum {
id: string;
tenantId: string;
contractId: string;
addendumNumber: string;
addendumType: AddendumType;
title: string;
description: string;
effectiveDate: Date;
newEndDate: Date;
amountChange: number;
newContractAmount: number;
scopeChanges: string;
status: AddendumStatus;
approvedAt: Date;
approvedById: string;
rejectionReason: string;
documentUrl: string;
notes: string;
createdAt: Date;
createdById: string;
updatedAt: Date;
updatedById: string;
tenant: Tenant;
contract: Contract;
createdBy: User;
approvedBy: User;
}
//# sourceMappingURL=contract-addendum.entity.d.ts.map