<filename>business_register/migrations/0158_auto_20210806_0930.py<gh_stars>0
# Generated by Django 3.1.12 on 2021-08-06 09:30

import django.core.validators
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('location_register', '0024_auto_20210526_0845'),
        ('business_register', '0157_auto_20210805_0925'),
    ]

    operations = [
        migrations.AddField(
            model_name='companysanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='countrysanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='personsanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='beneficiaries_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_address',
            field=models.TextField(blank=True, default='', help_text='address of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_email',
            field=models.TextField(blank=True, default='', help_text='email of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_fax',
            field=models.TextField(blank=True, default='', help_text='fax number of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_name',
            field=models.TextField(blank=True, default='', help_text='name of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_name_eng',
            field=models.TextField(blank=True, default='', help_text='name in English of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_phone',
            field=models.TextField(blank=True, default='', help_text='phone number of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the company', max_length=100),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_type_name',
            field=models.TextField(blank=True, default='', help_text='name of type of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the company is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_beneficiaries', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='beneficiaries', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='corporate_rights_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_name',
            field=models.TextField(blank=True, default='', help_text='name of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_name_eng',
            field=models.TextField(blank=True, default='', help_text='name in English of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='registration number of the company', max_length=100),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_type_name',
            field=models.TextField(blank=True, default='', help_text='name of type of the company'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the company is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_corporate_rights', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='corporate_rights', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='is_transferred',
            field=models.BooleanField(blank=True, default=None, help_text='is corporate rights transferred to another person or company', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='company share', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='value',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='value of rights', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_corporaterightsright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='corporate_rights',
            field=models.ForeignKey(help_text='right to corporate rights', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.corporaterights'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='last_employer',
            field=models.TextField(blank=True, default='', help_text='last employer of the declarant'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='last_job_title',
            field=models.TextField(blank=True, default='', help_text='title of the last job of the declarant'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='spouse',
            field=models.ForeignKey(blank=True, default=None, help_text='spouse of the declarant', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='spouse', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='submission_date',
            field=models.DateField(blank=True, help_text='date of submission of the declaration', null=True),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'annual declaration'), (3, 'declaration after resignation'), (2, 'declaration before resignation'), (4, 'declaration of the candidate')], help_text='type of the declaration'),
        ),
        migrations.AlterField(
            model_name='income',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the income'),
        ),
        migrations.AlterField(
            model_name='income',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of income', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='income',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the company or organisation that paid', max_length=100),
        ),
        migrations.AlterField(
            model_name='income',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='incomes', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='income',
            name='paid_by_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that paid', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='paid_to', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='income',
            name='paid_by_person',
            field=models.TextField(blank=True, default='', help_text='full name of the person that paid'),
        ),
        migrations.AlterField(
            model_name='income',
            name='recipient',
            field=models.ForeignKey(help_text='person that got income', on_delete=django.db.models.deletion.PROTECT, related_name='incomes', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='income',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Salary'), (2, 'Interest'), (3, 'Dividends'), (5, 'From sale of securities or corporate rights'), (6, 'Business'), (7, 'Gift in cash'), (8, 'Gift'), (9, 'Fees and other payments'), (10, 'Other'), (11, 'Income from renting property'), (12, 'Pension'), (13, 'Insurance payments'), (14, 'Sale of securities and corporate rights'), (15, 'Prize'), (16, 'Charity'), (17, 'Sale of property'), (18, 'Legacy'), (19, 'Salary from part-time job'), (20, 'Sale of movables'), (21, 'Self-employment'), (22, 'Royalty'), (30, 'Family member did not provide the information')], help_text='type of income', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_intangibleassetright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='intangible_assets',
            field=models.ForeignKey(help_text='right to the intangible asset', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.intangibleasset'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the liability'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the liability', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='bank',
            field=models.ForeignKey(blank=True, default=None, help_text='bank or company to whom money is owed', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='lent_money', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='bank_name',
            field=models.TextField(blank=True, default='', help_text='name of the bank', max_length=75),
        ),
        migrations.AlterField(
            model_name='liability',
            name='creditor_full_name',
            field=models.CharField(blank=True, default='', help_text='fullname of the person to whom money is owed', max_length=75),
        ),
        migrations.AlterField(
            model_name='liability',
            name='currency',
            field=models.CharField(blank=True, default='', max_length=33),
        ),
        migrations.AlterField(
            model_name='liability',
            name='date',
            field=models.DateField(blank=True, help_text='liability date', null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='liabilities', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='guarantee_amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the loan guarantee', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='interest_paid',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the interest of the loan that was paid during declaration`s period', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='loan_paid',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the body of the loan that was paid during declaration`s period', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='loan_rest',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the rest of the loan', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Loan'), (2, 'Money borrowed by another person'), (3, 'Tax debt'), (4, 'Liabilities under pension insurance contract'), (5, 'Liabilities under insurance contract'), (6, 'Liabilities under leasing contract'), (7, 'loan payments'), (8, 'interest payments on the loan'), (10, 'Other')], help_text='type of the liability'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='luxuries', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='description',
            field=models.TextField(blank=True, default='', help_text='description of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='producer',
            field=models.TextField(blank=True, default='', help_text='producer of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='trademark',
            field=models.CharField(blank=True, default='', help_text='trademark of the item', max_length=100),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Art'), (2, 'Personal or home electronic devices'), (3, 'Antiques'), (4, 'Clothes'), (5, 'Jewelry'), (10, 'Other')], help_text='type of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_luxuryitemright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='luxury_item',
            field=models.ForeignKey(help_text='right to the luxury item', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.luxuryitem'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='money',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the money'),
        ),
        migrations.AlterField(
            model_name='money',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of money', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='money',
            name='bank',
            field=models.ForeignKey(blank=True, default=None, help_text='bank, credit union or investment fund where the money is stored', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='money_in_banks', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='money',
            name='currency',
            field=models.CharField(blank=True, default='', help_text='currency', max_length=33),
        ),
        migrations.AlterField(
            model_name='money',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='money', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='money',
            name='owner',
            field=models.ForeignKey(help_text='owner of money', on_delete=django.db.models.deletion.PROTECT, related_name='money', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='money',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Bank account'), (2, 'Hard cash'), (3, 'Contribution to the credit union or investment fund'), (4, 'Money lent to another person'), (5, 'Precious metals'), (10, 'Other')], help_text='type'),
        ),
        migrations.AlterField(
            model_name='ngoparticipation',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ngo_participation', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='ngoparticipation',
            name='participation_type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Membership'), (2, 'Leadership')], help_text='type of the participation in the NGO'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='part_time_jobs', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='description',
            field=models.TextField(blank=True, default='', help_text='description of the PEP`s part-time job'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='employer',
            field=models.ForeignKey(blank=True, default=None, help_text='employer of the PEP for part-time job', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='peps_employees', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='employer_full_name',
            field=models.TextField(blank=True, default='', help_text='full name of the person that gave PEP part-time job'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='is_paid',
            field=models.BooleanField(blank=True, default=None, help_text='is the job paid', null=True),
        ),
        migrations.AlterField(
            model_name='property',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the property'),
        ),
        migrations.AlterField(
            model_name='property',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the property is located', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_properties', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='property',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='properties', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='property',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'House'), (2, 'Summer house'), (3, 'Apartment'), (4, 'Room'), (5, 'Garage'), (6, 'Unfinished construction'), (7, 'Land'), (8, 'Office'), (10, 'Other')], help_text='type of the property'),
        ),
        migrations.AlterField(
            model_name='property',
            name='valuation',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='valuation of the property', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_propertyright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='property',
            field=models.ForeignKey(help_text='right to the property', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.property'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about securities'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='securities', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_address',
            field=models.TextField(blank=True, default='', help_text='address of the issuer of securities'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company that issued the securities', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='shares_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_name',
            field=models.TextField(blank=True, default='', help_text='name of the issuer of securities', max_length=75),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the issuer of securities', max_length=100),
        ),
        migrations.AlterField(
            model_name='securities',
            name='nominal_value',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='nominal value of securities', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='quantity',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='quantity of securities', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='transfer_date',
            field=models.DateField(blank=True, help_text='date of the transfer of the securities', null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='trustee_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company that is a trustee of the securities', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='shares_in_trust', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Share'), (2, 'Corporate right'), (3, 'Mortgage securities'), (4, 'Commodity securities'), (5, 'Derivatives'), (6, 'Debt securities'), (7, 'Privatization securities (vouchers, etc)'), (8, 'Investment certificates)'), (9, 'Check'), (10, 'Other')], help_text='type of securities'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_securitiesright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='securities',
            field=models.ForeignKey(help_text='right to securities', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.securities'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the transaction', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the transaction is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_transactions', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='date',
            field=models.DateField(blank=True, help_text='date of the transaction', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='is_money_spent',
            field=models.BooleanField(blank=True, default=None, help_text='whether the money spent during the transaction', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_object',
            field=models.TextField(blank=True, default='', help_text='object of the transaction'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_object_type',
            field=models.TextField(blank=True, default='', help_text='type of the object of the transaction'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_result',
            field=models.TextField(blank=True, default='', help_text='result of the transaction'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='brand',
            field=models.CharField(blank=True, default='', max_length=80),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='vehicles', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='is_luxury',
            field=models.BooleanField(blank=True, default=None, null=True),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='model',
            field=models.CharField(blank=True, default='', max_length=140),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Car'), (2, 'Truck'), (4, 'Boat'), (5, 'Agricultural machinery'), (6, 'Air_means'), (10, 'Other')], help_text='type of the vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='valuation',
            field=models.PositiveIntegerField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='car',
            field=models.ForeignKey(help_text='right to the vehicle', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_vehicleright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
    ]

<filename>business_register/migrations/0158_auto_20210806_0930.py<gh_stars>0
# Generated by Django 3.1.12 on 2021-08-06 09:30

import django.core.validators
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('location_register', '0024_auto_20210526_0845'),
        ('business_register', '0157_auto_20210805_0925'),
    ]

    operations = [
        migrations.AddField(
            model_name='companysanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='countrysanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='personsanction',
            name='decree_number',
            field=models.CharField(default='', help_text='number of the decree of the President of Ukraine', max_length=9, validators=[django.core.validators.RegexValidator(message='Invalid format of the Decree number, example: 350/2021', regex='^\\d{1,4}\\/20\\d\\d$')], verbose_name='decree number'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='beneficiaries_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_address',
            field=models.TextField(blank=True, default='', help_text='address of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_email',
            field=models.TextField(blank=True, default='', help_text='email of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_fax',
            field=models.TextField(blank=True, default='', help_text='fax number of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_name',
            field=models.TextField(blank=True, default='', help_text='name of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_name_eng',
            field=models.TextField(blank=True, default='', help_text='name in English of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_phone',
            field=models.TextField(blank=True, default='', help_text='phone number of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the company', max_length=100),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='company_type_name',
            field=models.TextField(blank=True, default='', help_text='name of type of the company'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the company is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_beneficiaries', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='beneficiary',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='beneficiaries', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='corporate_rights_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_name',
            field=models.TextField(blank=True, default='', help_text='name of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_name_eng',
            field=models.TextField(blank=True, default='', help_text='name in English of the company', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='registration number of the company', max_length=100),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='company_type_name',
            field=models.TextField(blank=True, default='', help_text='name of type of the company'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the company is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_corporate_rights', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='corporate_rights', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='is_transferred',
            field=models.BooleanField(blank=True, default=None, help_text='is corporate rights transferred to another person or company', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='company share', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterights',
            name='value',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='value of rights', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_corporaterightsright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='corporate_rights',
            field=models.ForeignKey(help_text='right to corporate rights', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.corporaterights'),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='corporaterightsright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='last_employer',
            field=models.TextField(blank=True, default='', help_text='last employer of the declarant'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='last_job_title',
            field=models.TextField(blank=True, default='', help_text='title of the last job of the declarant'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='spouse',
            field=models.ForeignKey(blank=True, default=None, help_text='spouse of the declarant', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='spouse', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='submission_date',
            field=models.DateField(blank=True, help_text='date of submission of the declaration', null=True),
        ),
        migrations.AlterField(
            model_name='declaration',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'annual declaration'), (3, 'declaration after resignation'), (2, 'declaration before resignation'), (4, 'declaration of the candidate')], help_text='type of the declaration'),
        ),
        migrations.AlterField(
            model_name='income',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the income'),
        ),
        migrations.AlterField(
            model_name='income',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of income', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='income',
            name='company_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the company or organisation that paid', max_length=100),
        ),
        migrations.AlterField(
            model_name='income',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='incomes', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='income',
            name='paid_by_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that paid', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='paid_to', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='income',
            name='paid_by_person',
            field=models.TextField(blank=True, default='', help_text='full name of the person that paid'),
        ),
        migrations.AlterField(
            model_name='income',
            name='recipient',
            field=models.ForeignKey(help_text='person that got income', on_delete=django.db.models.deletion.PROTECT, related_name='incomes', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='income',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Salary'), (2, 'Interest'), (3, 'Dividends'), (5, 'From sale of securities or corporate rights'), (6, 'Business'), (7, 'Gift in cash'), (8, 'Gift'), (9, 'Fees and other payments'), (10, 'Other'), (11, 'Income from renting property'), (12, 'Pension'), (13, 'Insurance payments'), (14, 'Sale of securities and corporate rights'), (15, 'Prize'), (16, 'Charity'), (17, 'Sale of property'), (18, 'Legacy'), (19, 'Salary from part-time job'), (20, 'Sale of movables'), (21, 'Self-employment'), (22, 'Royalty'), (30, 'Family member did not provide the information')], help_text='type of income', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_intangibleassetright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='intangible_assets',
            field=models.ForeignKey(help_text='right to the intangible asset', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.intangibleasset'),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='intangibleassetright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the liability'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the liability', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='bank',
            field=models.ForeignKey(blank=True, default=None, help_text='bank or company to whom money is owed', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='lent_money', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='bank_name',
            field=models.TextField(blank=True, default='', help_text='name of the bank', max_length=75),
        ),
        migrations.AlterField(
            model_name='liability',
            name='creditor_full_name',
            field=models.CharField(blank=True, default='', help_text='fullname of the person to whom money is owed', max_length=75),
        ),
        migrations.AlterField(
            model_name='liability',
            name='currency',
            field=models.CharField(blank=True, default='', max_length=33),
        ),
        migrations.AlterField(
            model_name='liability',
            name='date',
            field=models.DateField(blank=True, help_text='liability date', null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='liabilities', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='liability',
            name='guarantee_amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the loan guarantee', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='interest_paid',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the interest of the loan that was paid during declaration`s period', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='loan_paid',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the body of the loan that was paid during declaration`s period', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='loan_rest',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the rest of the loan', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='liability',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Loan'), (2, 'Money borrowed by another person'), (3, 'Tax debt'), (4, 'Liabilities under pension insurance contract'), (5, 'Liabilities under insurance contract'), (6, 'Liabilities under leasing contract'), (7, 'loan payments'), (8, 'interest payments on the loan'), (10, 'Other')], help_text='type of the liability'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='luxuries', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='description',
            field=models.TextField(blank=True, default='', help_text='description of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='producer',
            field=models.TextField(blank=True, default='', help_text='producer of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='trademark',
            field=models.CharField(blank=True, default='', help_text='trademark of the item', max_length=100),
        ),
        migrations.AlterField(
            model_name='luxuryitem',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Art'), (2, 'Personal or home electronic devices'), (3, 'Antiques'), (4, 'Clothes'), (5, 'Jewelry'), (10, 'Other')], help_text='type of the item'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_luxuryitemright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='luxury_item',
            field=models.ForeignKey(help_text='right to the luxury item', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.luxuryitem'),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='luxuryitemright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='money',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the money'),
        ),
        migrations.AlterField(
            model_name='money',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of money', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='money',
            name='bank',
            field=models.ForeignKey(blank=True, default=None, help_text='bank, credit union or investment fund where the money is stored', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='money_in_banks', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='money',
            name='currency',
            field=models.CharField(blank=True, default='', help_text='currency', max_length=33),
        ),
        migrations.AlterField(
            model_name='money',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='money', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='money',
            name='owner',
            field=models.ForeignKey(help_text='owner of money', on_delete=django.db.models.deletion.PROTECT, related_name='money', to='business_register.pep'),
        ),
        migrations.AlterField(
            model_name='money',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Bank account'), (2, 'Hard cash'), (3, 'Contribution to the credit union or investment fund'), (4, 'Money lent to another person'), (5, 'Precious metals'), (10, 'Other')], help_text='type'),
        ),
        migrations.AlterField(
            model_name='ngoparticipation',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ngo_participation', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='ngoparticipation',
            name='participation_type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Membership'), (2, 'Leadership')], help_text='type of the participation in the NGO'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='part_time_jobs', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='description',
            field=models.TextField(blank=True, default='', help_text='description of the PEP`s part-time job'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='employer',
            field=models.ForeignKey(blank=True, default=None, help_text='employer of the PEP for part-time job', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='peps_employees', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='employer_full_name',
            field=models.TextField(blank=True, default='', help_text='full name of the person that gave PEP part-time job'),
        ),
        migrations.AlterField(
            model_name='parttimejob',
            name='is_paid',
            field=models.BooleanField(blank=True, default=None, help_text='is the job paid', null=True),
        ),
        migrations.AlterField(
            model_name='property',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the property'),
        ),
        migrations.AlterField(
            model_name='property',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the property is located', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_properties', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='property',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='properties', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='property',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'House'), (2, 'Summer house'), (3, 'Apartment'), (4, 'Room'), (5, 'Garage'), (6, 'Unfinished construction'), (7, 'Land'), (8, 'Office'), (10, 'Other')], help_text='type of the property'),
        ),
        migrations.AlterField(
            model_name='property',
            name='valuation',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='valuation of the property', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_propertyright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='property',
            field=models.ForeignKey(help_text='right to the property', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.property'),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='propertyright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about securities'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='securities', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_address',
            field=models.TextField(blank=True, default='', help_text='address of the issuer of securities'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company that issued the securities', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='shares_from_declarations', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_name',
            field=models.TextField(blank=True, default='', help_text='name of the issuer of securities', max_length=75),
        ),
        migrations.AlterField(
            model_name='securities',
            name='issuer_registration_number',
            field=models.CharField(blank=True, default='', help_text='number of registration of the issuer of securities', max_length=100),
        ),
        migrations.AlterField(
            model_name='securities',
            name='nominal_value',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='nominal value of securities', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='quantity',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='quantity of securities', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='transfer_date',
            field=models.DateField(blank=True, help_text='date of the transfer of the securities', null=True),
        ),
        migrations.AlterField(
            model_name='securities',
            name='trustee_company',
            field=models.ForeignKey(blank=True, default=None, help_text='company that is a trustee of the securities', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='shares_in_trust', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securities',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Share'), (2, 'Corporate right'), (3, 'Mortgage securities'), (4, 'Commodity securities'), (5, 'Derivatives'), (6, 'Debt securities'), (7, 'Privatization securities (vouchers, etc)'), (8, 'Investment certificates)'), (9, 'Check'), (10, 'Other')], help_text='type of securities'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_securitiesright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='securities',
            field=models.ForeignKey(help_text='right to securities', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.securities'),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='securitiesright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='amount',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='amount of the transaction', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='country',
            field=models.ForeignKey(blank=True, default=None, help_text='country where the transaction is registered', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='declared_pep_transactions', to='location_register.country'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='date',
            field=models.DateField(blank=True, help_text='date of the transaction', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='is_money_spent',
            field=models.BooleanField(blank=True, default=None, help_text='whether the money spent during the transaction', null=True),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_object',
            field=models.TextField(blank=True, default='', help_text='object of the transaction'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_object_type',
            field=models.TextField(blank=True, default='', help_text='type of the object of the transaction'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='transaction_result',
            field=models.TextField(blank=True, default='', help_text='result of the transaction'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='brand',
            field=models.CharField(blank=True, default='', max_length=80),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='declaration',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='vehicles', to='business_register.declaration'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='is_luxury',
            field=models.BooleanField(blank=True, default=None, null=True),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='model',
            field=models.CharField(blank=True, default='', max_length=140),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(1, 'Car'), (2, 'Truck'), (4, 'Boat'), (5, 'Agricultural machinery'), (6, 'Air_means'), (10, 'Other')], help_text='type of the vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicle',
            name='valuation',
            field=models.PositiveIntegerField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='acquisition_date',
            field=models.DateField(blank=True, help_text='date of acquisition of the right', null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='additional_info',
            field=models.TextField(blank=True, default='', help_text='additional info about the right'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='car',
            field=models.ForeignKey(help_text='right to the vehicle', on_delete=django.db.models.deletion.CASCADE, related_name='rights', to='business_register.vehicle'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='company',
            field=models.ForeignKey(blank=True, default=None, help_text='company or organisation that owns the right', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='business_register_vehicleright_rights', to='business_register.company'),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='full_name',
            field=models.CharField(blank=True, default='', help_text='full name of the person that owns the right', max_length=75),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='owner_type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Declarant'), (2, 'Family member'), (3, 'Ukraine citizen'), (4, 'Foreign citizen'), (5, 'Legal entity registered in Ukraine'), (6, 'Legal entity registered abroad')], help_text='type of the owner', null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='share',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='share of the right', max_digits=12, null=True),
        ),
        migrations.AlterField(
            model_name='vehicleright',
            name='type',
            field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Ownership'), (2, 'Beneficial ownership'), (3, 'Joint ownership'), (4, 'Common property'), (5, 'Rent'), (6, 'Usage'), (10, 'Other right of usage'), (7, 'Owner is another person'), (20, 'Family member did not provide the information'), (21, 'Family member did not consent to the processing of personal data')], help_text='type of the right', null=True),
        ),
    ]

# Generated by Django 3.1.12 on 2021-08-06 09:30