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

<script setup lang="ts">
import { getAssertUtils } from '~/services/asserts/getAssertUtils'
import EducationTiming from '~/models/Education/EducationTiming'

defineProps<{
  entity: EducationTiming
}>()

const getAsserts = (key) => getAssertUtils(EducationTiming.getAsserts(), key)
</script>
