UNPKG

qrcode-framework

Version:

28 lines (27 loc) 724 B
import { Association, BelongsToManyGetAssociationsMixin } from 'sequelize'; import { BaseModel } from '../../core/BaseModel'; import { ConfigGroup } from './ConfigGroup'; export declare const CONFIG_TYPE: { STRING: number; JSON: number; }; export declare const CONFIG_STATUS: { INVALID: number; VALID: number; }; export declare class Config extends BaseModel { static associations: { groups: Association<Config, ConfigGroup>; }; id: number; name: string; code: string; type: number; value: object; description: string; status: number; createdAt: Date; updatedAt: Date; deleted: boolean; getGroups: BelongsToManyGetAssociationsMixin<ConfigGroup>; }