fixing
This commit is contained in:
@ -9,8 +9,6 @@ import {
|
||||
JoinColumn,
|
||||
} from "typeorm";
|
||||
|
||||
import { ItemClass } from "./item_class";
|
||||
|
||||
@Entity("pharmacy_item_class_detail", { schema: "pharmacy" })
|
||||
export class ItemClassDetail {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
@ -22,10 +20,6 @@ export class ItemClassDetail {
|
||||
})
|
||||
class_detail_name!: string;
|
||||
|
||||
@ManyToOne(() => ItemClass, { nullable: false })
|
||||
@JoinColumn({ name: "item_class_id" })
|
||||
item_class!: ItemClass;
|
||||
|
||||
@CreateDateColumn()
|
||||
created_at!: Date;
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ export class UsageInstructions {
|
||||
type: "text",
|
||||
nullable: true,
|
||||
})
|
||||
usage_abbreviation?: string;
|
||||
usage_instructions_abbreviation?: string;
|
||||
|
||||
@CreateDateColumn()
|
||||
created_at!: Date;
|
||||
|
||||
Reference in New Issue
Block a user