upd
This commit is contained in:
@ -2,6 +2,7 @@ import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateCol
|
|||||||
import { ProcurementTender } from "./procurement_tender";
|
import { ProcurementTender } from "./procurement_tender";
|
||||||
import { ProcurementWorkOrderStatus } from "../../types/procurement";
|
import { ProcurementWorkOrderStatus } from "../../types/procurement";
|
||||||
import { ProcurementWorkOrderCopy } from "./procurement_work_order_copies";
|
import { ProcurementWorkOrderCopy } from "./procurement_work_order_copies";
|
||||||
|
import { HrmsEmployee } from "../hrms/hrms_employee";
|
||||||
|
|
||||||
@Entity("procurement_work_orders", { schema: "procurement" })
|
@Entity("procurement_work_orders", { schema: "procurement" })
|
||||||
export class ProcurementWorkOrder {
|
export class ProcurementWorkOrder {
|
||||||
@ -40,8 +41,9 @@ export class ProcurementWorkOrder {
|
|||||||
// SIGNATURE
|
// SIGNATURE
|
||||||
// =========================
|
// =========================
|
||||||
|
|
||||||
@Column({ length: 256, nullable: true })
|
@ManyToOne(() => HrmsEmployee, { nullable: true })
|
||||||
signer_name: string; // ENG. JOSÉ ANTÓNÍO SANCHES
|
@JoinColumn()
|
||||||
|
signer: HrmsEmployee; // ENG. JOSÉ ANTÓNÍO SANCHES
|
||||||
|
|
||||||
@Column({ length: 256, nullable: true })
|
@Column({ length: 256, nullable: true })
|
||||||
signer_position: string; // DIRECTOR U-APROVISIONAMENTO ANATL, E.P.
|
signer_position: string; // DIRECTOR U-APROVISIONAMENTO ANATL, E.P.
|
||||||
|
|||||||
Reference in New Issue
Block a user