Spaces:
Sleeping
Sleeping
import { | |
Entity, | |
Column, | |
BaseEntity, | |
PrimaryGeneratedColumn, | |
CreateDateColumn, | |
DeleteDateColumn, | |
} from 'typeorm'; | |
'feeds') | (|
export class FeedEntity extends BaseEntity { | |
() | |
id: number; | |
nullable: true }) | ({|
author_id: string; | |
nullable: true }) | ({|
image_url: string; | |
() | |
title: string; | |
nullable: true }) | ({|
description: string; | |
() | |
create_at: Date; | |
() | |
delete_at: Date; | |
} | |