finance plan update
This commit is contained in:
@ -4,14 +4,14 @@ import { FinancePlan } from "./finance_plans";
|
|||||||
import { FinanceSubBudgetLine } from "./fincance_sub_budget_lines";
|
import { FinanceSubBudgetLine } from "./fincance_sub_budget_lines";
|
||||||
import { HrmsDepartment } from "../hrms/hrms_department";
|
import { HrmsDepartment } from "../hrms/hrms_department";
|
||||||
|
|
||||||
@Entity("finance_plan_details", { schema: "finances" })
|
@Entity("finance_plan_items", { schema: "finances" })
|
||||||
export class FinancePlanDetail {
|
export class FinancePlanItem {
|
||||||
@PrimaryGeneratedColumn("uuid")
|
@PrimaryGeneratedColumn("uuid")
|
||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
@ManyToOne(() => FinancePlan, { onDelete: "RESTRICT", nullable: true })
|
@ManyToOne(() => FinancePlan, { onDelete: "RESTRICT", nullable: true })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
employee: FinancePlan;
|
plan: FinancePlan;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
@ -8,4 +8,4 @@ export * from "../entity/finance/finance_company";
|
|||||||
export * from "../entity/finance/finance_bank_account";
|
export * from "../entity/finance/finance_bank_account";
|
||||||
export * from "../entity/finance/finance_localizacao";
|
export * from "../entity/finance/finance_localizacao";
|
||||||
export * from "../entity/finance/finance_plans";
|
export * from "../entity/finance/finance_plans";
|
||||||
export * from "../entity/finance/finance_plan_details";
|
export * from "../entity/finance/finance_plan_items";
|
||||||
|
|||||||
Reference in New Issue
Block a user