feat: auth

This commit is contained in:
2024-07-02 15:31:59 +03:00
parent 3c7b919b28
commit a865789efa
21 changed files with 342 additions and 201 deletions

View File

@@ -0,0 +1,16 @@
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
@Entity()
export class WebUser {
@PrimaryGeneratedColumn("uuid")
public uuid: string;
@Column({ unique: true })
public login: string;
@Column({ nullable: false })
public password: string;
@Column({ nullable: true })
public telegram_id?: string;
}