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