qrcode-framework
Version:
30 lines (29 loc) • 783 B
TypeScript
import { Association, BelongsToGetAssociationMixin } from 'sequelize';
import { BaseModel } from '../../core/BaseModel';
import { DynamicCode } from '../dynamicCode';
export declare const MODEL_RECORD_STATUS: {
UN_KNOWN: number;
INVALID: number;
VALID: number;
BLOCK: number;
};
export declare class ModelRecord extends BaseModel {
static associations: {
dynamicCode: Association<ModelRecord, DynamicCode>;
};
id: number;
uid: number;
content: string;
title: string;
password: string;
sign: string;
musicId: number;
styleId: number;
dynamicId: number;
status: number;
data: any;
createdAt: Date;
updatedAt: Date;
invalidAt: Date;
getDynamicCode: BelongsToGetAssociationMixin<DynamicCode>;
}