16 lines
348 B
TypeScript
16 lines
348 B
TypeScript
import { Column, Entity, PrimaryColumn } from "typeorm";
|
|
|
|
@Entity()
|
|
export class reset {
|
|
@PrimaryColumn({ type: "varchar", length: 255 })
|
|
mail: string;
|
|
|
|
@Column({ type: "varchar", length: 255 })
|
|
token: string;
|
|
|
|
@Column({ type: "varchar", length: 255 })
|
|
username: string;
|
|
|
|
@Column({ type: "varchar", length: 255 })
|
|
secret: string;
|
|
}
|