Merge branch 'development' into 'devops-staging'
fix: entity cateogires See merge request empatnusabangsa/ppob/ppob-backend!31
This commit is contained in:
commit
4a2a777d40
|
@ -19,7 +19,9 @@ export class ProductCategories extends BaseModel {
|
|||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
@Column({
|
||||
nullable: true,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@OneToMany(
|
||||
|
|
|
@ -17,7 +17,9 @@ export class ProductSubCategories extends BaseModel {
|
|||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
@Column({
|
||||
nullable: true,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@ManyToOne(() => ProductCategories, (categories) => categories.sub_categories)
|
||||
|
|
Loading…
Reference in New Issue
Block a user