update entity phar item master

This commit is contained in:
Rayhan Ardiansyah
2026-03-02 10:51:16 +07:00
parent 88ce587c45
commit 5025efd695

View File

@ -58,13 +58,9 @@ 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",
nullable: true,