ff-admin-server/src/entity/reset.ts

17 lines
348 B
TypeScript
Raw Normal View History

2024-11-23 11:11:19 +00:00
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;
}