qrcode-framework
Version:
41 lines (40 loc) • 1.66 kB
TypeScript
import { Association } from 'sequelize';
import { BaseModel } from '../../core/BaseModel';
import { CoreOrder } from '../coreOrder';
import { UserMabi } from '../mabi';
import { Material } from '../material';
import { TaskRecord } from '../task';
import { UserIntegral } from './UserIntegral';
import { UserIntegralRecord } from './UserIntegralRecord';
import { UserInviteCode } from './UserInviteCode';
import { UserInviteRecord } from './UserInviteRecord';
import { UserLoginLog } from './UserLoginLog';
import { UserOutIntegration } from './UserOutIntegration';
import { UserPush } from './UserPush';
import { UserShareLog } from './UserShareLog';
export declare class UserView extends BaseModel {
static associations: {
integrations: Association<UserView, UserOutIntegration>;
inviteCode: Association<UserView, UserInviteCode>;
inviteRecords: Association<UserView, UserInviteRecord>;
pushs: Association<UserView, UserPush>;
loginLogs: Association<UserView, UserLoginLog>;
shareLogs: Association<UserView, UserShareLog>;
integral: Association<UserView, UserIntegral>;
integralRecords: Association<UserView, UserIntegralRecord>;
taskRecords: Association<UserView, TaskRecord>;
materials: Association<UserView, Material>;
coreOrders: Association<UserView, CoreOrder>;
mabi: Association<UserView, UserMabi>;
};
id: number;
name: string;
username: string;
userPhoto: string;
password: string;
phoneNumber: string;
gender: number;
readonly integral: UserIntegral;
readonly inviteCode: UserInviteCode;
mabi: UserMabi;
}