restful-started
Version:
typescript restful started
15 lines (14 loc) • 366 B
TypeScript
import { Sequelize } from 'sequelize';
import { Model } from 'sequelize';
export declare class Account extends Model {
id: number;
mobile: string;
password: string;
status: EAccountStatus;
}
export declare enum EAccountStatus {
UNACTIVE = 0,
FORBIDDEN = -1,
ACTIVE = 1
}
export declare function init(sequelize: Sequelize): Promise<void>;