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

/**
 * Motif d'absence ou de retard
 *
 * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Booking/AttendanceBookingReason.php
 */
export default class AttendanceBookingReason extends ApiModel {
    static entity = 'attendance_booking_reasons'

    @Uid()
    declare id: number | string

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