feat: added organ
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { BaseEntity } from 'src/common/entities/base.entity';
|
||||
import { Column, Entity } from 'typeorm';
|
||||
|
||||
@Entity('organs')
|
||||
export class Organ extends BaseEntity {
|
||||
@Column({
|
||||
type: 'varchar',
|
||||
length: 50,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
type: 'varchar',
|
||||
})
|
||||
logo: string;
|
||||
}
|
||||
Reference in New Issue
Block a user