production
This commit is contained in:
@@ -4,20 +4,19 @@ import { BaseEntity } from '../../../common/entities/base.entity';
|
||||
|
||||
@Entity({ tableName: 'products' })
|
||||
export class product extends BaseEntity {
|
||||
@Property({ primary: true })
|
||||
id: bigint
|
||||
|
||||
|
||||
@Property({ nullable: true })
|
||||
title?: string;
|
||||
@Property()
|
||||
title: string;
|
||||
|
||||
@Property({ type: 'text', nullable: true })
|
||||
linkUrl?: string;
|
||||
|
||||
|
||||
@Property({ type: 'boolean', default: true })
|
||||
isActive: boolean = true;
|
||||
|
||||
@Property({ type: 'json', nullable: true })
|
||||
images?: string[];
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user