mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 04:59:42 +03:00
17 lines
333 B
TypeScript
17 lines
333 B
TypeScript
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;
|
|
}
|