models/Teams.js
// This is only used for validation.
This is only used for validation.
This is only used for validation .
static get jsonSchema() {
    return {
      type: 'object',
      properties: {
        id: { type: 'integer' },
        name: { type: 'string' },
        city_id: { type: 'integer' },
        created_at: { type: 'date-time' },
        updated_at: { type: 'date-time' },
      }
    };
  }
static get jsonSchema ( ) { return { type : 'object' , properties : { id : { type : 'integer' } , name : { type : 'string' } , city_id : { type : 'integer' } , created_at : { type : 'date-time' } , updated_at : { type : 'date-time' } , } } ; }
This is only used for validation.
This is only used for validation .