# Generated by Django 4.1.5 on 2023-04-26 14:09

import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import mysite.personnel.fields


class Migration(migrations.Migration):

    dependencies = [
        ('personnel', '0025_auto_20220520_2045'),
    ]

    operations = [
        migrations.AlterField(
            model_name='employee',
            name='driver_license_automobile',
            field=models.CharField(blank=True, max_length=30, null=True, validators=[django.core.validators.RegexValidator('^[0-9a-zA-Z_-]*$')], verbose_name='emp_field_driver_license_automobile'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='driver_license_motorcycle',
            field=models.CharField(blank=True, max_length=30, null=True, validators=[django.core.validators.RegexValidator('^[0-9a-zA-Z_-]*$')], verbose_name='emp_field_driver_license_motorcycle'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='emp_code',
            field=models.CharField(max_length=20, validators=[django.core.validators.RegexValidator('^[0-9a-zA-Z_-]*$')], verbose_name='emp_field_employeeCode'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='enable_overtime',
            field=models.BooleanField(blank=True, choices=[(False, 'boolean_option_no'), (True, 'boolean_option_yes')], default=False, verbose_name='emp_field_enableOvertime'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='enable_payroll',
            field=models.BooleanField(blank=True, choices=[(False, 'boolean_option_no'), (True, 'boolean_option_yes')], default=True, verbose_name='emp_field_enablePayroll'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='is_admin',
            field=models.BooleanField(blank=True, choices=[(False, 'boolean_option_no'), (True, 'boolean_option_yes')], default=False, verbose_name='emp_field_isAdmin'),
        ),
        migrations.AlterField(
            model_name='employee',
            name='passport',
            field=models.CharField(blank=True, max_length=30, null=True, validators=[django.core.validators.RegexValidator('^[0-9a-zA-Z_-]*$')], verbose_name='emp_field_passport_number'),
        ),
        migrations.AlterField(
            model_name='employeecertification',
            name='employee',
            field=models.ForeignKey(limit_choices_to={'status': 0}, on_delete=django.db.models.deletion.CASCADE, to='personnel.employee', verbose_name='employeeCert_field_employee'),
        ),
        migrations.AlterField(
            model_name='resign',
            name='employee',
            field=mysite.personnel.fields.ModelOneToOneFieldWithCast(limit_choices_to={'status': 0}, on_delete=django.db.models.deletion.CASCADE, to='personnel.employee', verbose_name='resign_field_employee'),
        ),
    ]
