kpi plan
This commit is contained in:
parent
c4a975b503
commit
a9dd103ff8
16 changed files with 1484 additions and 15 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { Entity, Column, OneToMany, ManyToOne } from "typeorm";
|
||||
import { Entity, Column, OneToMany, ManyToOne, ManyToMany } from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
import { KpiCapacityDetail } from "./kpiCapacityDetail";
|
||||
import { KpiLink } from "./kpiLink";
|
||||
|
||||
enum CapacityType {
|
||||
HEAD = "HEAD",
|
||||
|
|
@ -40,6 +41,9 @@ export class KpiCapacity extends EntityBase {
|
|||
|
||||
@OneToMany(() => KpiCapacityDetail, (kpiCapacityDetail) => kpiCapacityDetail.kpiCapacitys)
|
||||
KpiCapacityDetails: KpiCapacityDetail[];
|
||||
|
||||
@ManyToMany(() => KpiLink, (kpiLink) => kpiLink.kpiCapacitys)
|
||||
kpiLinks: KpiLink[];
|
||||
}
|
||||
export class createKpiCapacity {
|
||||
@Column()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue