You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
331 B
20 lines
331 B
import { Column, HasMany, Model, PrimaryKey, Table } from "sequelize-typescript";
|
|
|
|
@Table
|
|
export class User extends Model {
|
|
@PrimaryKey
|
|
@Column
|
|
auth0id: string;
|
|
|
|
@Column
|
|
nickname: string;
|
|
|
|
@Column
|
|
picture: string;
|
|
|
|
@Column
|
|
realName: string;
|
|
|
|
@Column
|
|
lastLogin: Date;
|
|
}
|