qrcode-framework
Version:
29 lines (28 loc) • 808 B
TypeScript
import { Association, BelongsToManyGetAssociationsMixin } from 'sequelize';
import { BaseModel } from '../../core/BaseModel';
import { HtmlModelGroup } from './HtmlModelGroup';
export declare const HTML_MODEL_TYPE: {
INVALID: number;
LOVE_LETTER: number;
TEXT: number;
VOICE: number;
};
export declare const HTML_MODEL_EDIT_TYPE: {};
export declare class HtmlModel extends BaseModel {
static associations: {
groups: Association<HtmlModel, HtmlModelGroup>;
};
id: number;
name: string;
thumbUrl: string;
description: string;
code: string;
previewUrl: string;
ruleInfo: object;
type: number;
editType: number;
createdAt: Date;
updatedAt: Date;
deleted: boolean;
getGroups: BelongsToManyGetAssociationsMixin<HtmlModelGroup>;
}