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,12 +58,8 @@ 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",