@central-credit/engine
Version:
Engine to handle the Serasa requests
47 lines (37 loc) • 672 B
text/typescript
import { Entity, model, property } from '@loopback/repository'
()
export class Field extends Entity {
({
type: 'string',
id: true
})
id: string
({
type: 'number',
required: true
})
seq: number
({
type: 'number',
required: true
})
size: number
({
type: 'string'
})
value?: string
({
type: 'string',
default: 'NUMBER'
})
type?: string
({
type: 'string'
})
description?: string
constructor(data?: Partial<Field>) {
super(data)
}
}
export interface FieldRelations {}
export type FieldWithRelations = Field & FieldRelations