42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
/**
|
|
* ConsumoObra Entity
|
|
* Consumos de materiales por obra/lote
|
|
*
|
|
* @module Inventory
|
|
* @table inventory.consumos_obra
|
|
* @ddl schemas/06-inventory-ext-schema-ddl.sql
|
|
*/
|
|
import { Tenant } from '../../core/entities/tenant.entity';
|
|
import { User } from '../../core/entities/user.entity';
|
|
import { Fraccionamiento } from '../../construction/entities/fraccionamiento.entity';
|
|
import { Lote } from '../../construction/entities/lote.entity';
|
|
import { Concepto } from '../../budgets/entities/concepto.entity';
|
|
export declare class ConsumoObra {
|
|
id: string;
|
|
tenantId: string;
|
|
stockMoveId: string;
|
|
fraccionamientoId: string;
|
|
loteId: string;
|
|
departamentoId: string;
|
|
conceptoId: string;
|
|
productId: string;
|
|
quantity: number;
|
|
unitCost: number;
|
|
consumptionDate: Date;
|
|
registeredById: string;
|
|
notes: string;
|
|
createdAt: Date;
|
|
createdById: string;
|
|
updatedAt: Date;
|
|
updatedById: string;
|
|
deletedAt: Date;
|
|
deletedById: string;
|
|
get totalCost(): number;
|
|
tenant: Tenant;
|
|
fraccionamiento: Fraccionamiento;
|
|
lote: Lote;
|
|
concepto: Concepto;
|
|
registeredBy: User;
|
|
createdBy: User;
|
|
}
|
|
//# sourceMappingURL=consumo-obra.entity.d.ts.map
|