model clean and consistent naming
This commit is contained in:
parent
3ff44f7370
commit
0d8499b828
11 changed files with 59 additions and 64 deletions
|
@ -1,9 +1,5 @@
|
|||
import { Column, CreateDateColumn, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn, Unique } from "typeorm";
|
||||
import { Equipment } from "../equipment/equipment";
|
||||
import { Vehicle } from "../vehicle/vehicle";
|
||||
import { PlanTimeDefinition } from "../../../viewmodel/admin/unit/inspectionPlan/inspectionPlan.models";
|
||||
import { inspectionPlan } from "./inspectionPlan";
|
||||
import { getTypeByORM } from "../../../migrations/ormHelper";
|
||||
import { inspectionPoint } from "./inspectionPoint";
|
||||
|
||||
@Entity()
|
||||
|
@ -16,7 +12,7 @@ export class inspectionVersionedPlan {
|
|||
version: number;
|
||||
|
||||
@CreateDateColumn()
|
||||
created: Date;
|
||||
createdAt: Date;
|
||||
|
||||
@Column()
|
||||
inspectionPlanId: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue