update entity phar item master
This commit is contained in:
@ -58,12 +58,8 @@ export class ItemMaster {
|
||||
factory!: Factory;
|
||||
|
||||
@ManyToOne(() => Unit, { nullable: false })
|
||||
@JoinColumn({ name: "large_unit_id" })
|
||||
large_unit!: Unit;
|
||||
|
||||
@ManyToOne(() => Unit, { nullable: false })
|
||||
@JoinColumn({ name: "small_unit_id" })
|
||||
small_unit!: Unit;
|
||||
@JoinColumn({ name: "unit_id" })
|
||||
unit!: Unit;
|
||||
|
||||
@Column({
|
||||
type: "int",
|
||||
|
||||
Reference in New Issue
Block a user