2020-07-22 22:56:21 +03:00
|
|
|
import { Column, Entity, PrimaryColumn } from "typeorm";
|
2020-05-28 01:29:51 +03:00
|
|
|
|
|
|
|
@Entity("supporters")
|
|
|
|
export class Supporter {
|
|
|
|
@Column()
|
|
|
|
@PrimaryColumn()
|
|
|
|
user_id: string;
|
|
|
|
|
|
|
|
@Column()
|
|
|
|
name: string;
|
|
|
|
|
2020-11-09 20:11:33 +02:00
|
|
|
@Column({ type: String, nullable: true })
|
2020-05-28 01:29:51 +03:00
|
|
|
amount: string | null;
|
|
|
|
}
|