<script setup>
import { useI18n } from 'vue-i18n';

import FormModel from 'components/FormModel.vue';
import VnInput from 'src/components/common/VnInput.vue';

const { t } = useI18n();
</script>

<template>
    <FormModel model="Alias">
        <template #form="{ data }">
            <div class="column q-gutter-y-md">
                <VnInput v-model="data.alias" :label="t('mailAlias.name')" />
                <VnInput v-model="data.description" :label="t('mailAlias.description')" />
                <QCheckbox :label="t('mailAlias.isPublic')" v-model="data.isPublic" />
            </div>
        </template>
    </FormModel>
</template>
