import { Entity, model, property } from '@loopback/repository'; @model({name:'recaptcha_v3_blocked_users'}) export class BlockedUser extends Entity { @property({ type: 'number', id: true, generated: true, }) id?: number; @property({ type: 'string', required: true, }) user_ip: string; @property({ type: 'string', required: true, }) device: string; @property({ type: 'string', }) block_start_time: string; @property({ type: 'number', }) duration: number; @property({ type: 'boolean', }) is_blocked: boolean; @property({ type: 'number', }) count?: number; constructor(data?: Partial) { super(data); } } export interface BlockedUserRelations { // describe navigational properties here } export type BlockedUserWithRelations = BlockedUser & BlockedUserRelations;