import ApiModel from "~/models/ApiModel";
import {Str, Uid} from "pinia-orm/dist/decorators";

/**
 * Ap2i Model : ResidenceArea
 *
 * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Billing/ResidenceArea.php
 */
export default class ResidenceArea extends ApiModel {
  static entity = 'residence_areas'

  @Uid()
  declare id: number | string | null

  @Str(null)
  declare label: string|null
}
