<template>
  <v-container :fluid="true" class="container">
    <v-row>
      <v-col cols="12" sm="6">
        <UiInputText
          v-model="entity.reason"
          field="reason"
          type="string"
          :rules="getAsserts('reason')"
        />
      </v-col>
    </v-row>
  </v-container>
</template>

<script setup lang="ts">
import AttendanceBookingReason from "~/models/Booking/AttendanceBookingReason";
import {getAssertUtils} from "~/services/asserts/getAssertUtils";

defineProps<{
  entity: AttendanceBookingReason
}>()

const getAsserts = (key) => getAssertUtils(AttendanceBookingReason.getAsserts(), key)

</script>
