update
This commit is contained in:
@ -72,9 +72,21 @@ export class ItemMaster {
|
|||||||
@JoinColumn({ name: "factory_id" })
|
@JoinColumn({ name: "factory_id" })
|
||||||
factory!: Factory;
|
factory!: Factory;
|
||||||
|
|
||||||
@ManyToOne(() => Unit, { nullable: false })
|
// @ManyToOne(() => Unit, { nullable: false })
|
||||||
@JoinColumn({ name: "unit_id" })
|
// @JoinColumn({ name: "unit_id" })
|
||||||
unit!: Unit;
|
// unit!: Unit;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: "text",
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
smallunit?: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: "text",
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
largeunit?: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
type: "int",
|
type: "int",
|
||||||
|
|||||||
Reference in New Issue
Block a user