# Generated manually to rename pinyin fields to PascalCase
# db_column is preserved, so these are no-ops at the database level

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ('config', '0001_initial'),
    ]

    operations = [
        # Lunbo
        migrations.RenameField(model_name='lunbo', old_name='tupian_url', new_name='ImageURL'),
        migrations.RenameField(model_name='lunbo', old_name='leixing', new_name='ImageType'),

        # Gonggao
        migrations.RenameField(model_name='gonggao', old_name='leixing', new_name='NoticeType'),
        migrations.RenameField(model_name='gonggao', old_name='jieshao', new_name='Content'),

        # Qunpeizhi
        migrations.RenameField(model_name='qunpeizhi', old_name='peizhiid', new_name='GroupType'),
        migrations.RenameField(model_name='qunpeizhi', old_name='neirong', new_name='GroupContent'),
        migrations.RenameField(model_name='qunpeizhi', old_name='qunid', new_name='GroupID'),
        migrations.RenameField(model_name='qunpeizhi', old_name='jieshao', new_name='Description'),

        # Tupianpeizhi
        migrations.RenameField(model_name='tupianpeizhi', old_name='tupian', new_name='ImageURL'),
        migrations.RenameField(model_name='tupianpeizhi', old_name='leixing', new_name='ImageType'),
        migrations.RenameField(model_name='tupianpeizhi', old_name='fangwen_cishu', new_name='AccessCount'),

        # Szjilu
        migrations.RenameField(model_name='szjilu', old_name='zongsy', new_name='TotalIncome'),
        migrations.RenameField(model_name='szjilu', old_name='zongls', new_name='TotalFlow'),
        migrations.RenameField(model_name='szjilu', old_name='zongzc', new_name='TotalExpense'),
        migrations.RenameField(model_name='szjilu', old_name='jrzc', new_name='DailyExpense'),
        migrations.RenameField(model_name='szjilu', old_name='jrls', new_name='DailyFlow'),

        # ShangjiaMoban
        migrations.RenameField(model_name='shangjiamoban', old_name='yonghu_id', new_name='UserID'),
        migrations.RenameField(model_name='shangjiamoban', old_name='leixing_id', new_name='ProductTypeID'),
        migrations.RenameField(model_name='shangjiamoban', old_name='moban_jieshao', new_name='TemplateDesc'),
        migrations.RenameField(model_name='shangjiamoban', old_name='jiage', new_name='Price'),
        migrations.RenameField(model_name='shangjiamoban', old_name='fabu_shuliang', new_name='PublishedCount'),
        migrations.RenameField(model_name='shangjiamoban', old_name='yongjin_qiangdan', new_name='CommissionGrabEnabled'),
        migrations.RenameField(model_name='shangjiamoban', old_name='yongjin_jiage', new_name='CommissionPrice'),
        migrations.RenameField(model_name='shangjiamoban', old_name='chenghao_id', new_name='TitleID'),

        # ShangjiaLianjie
        migrations.RenameField(model_name='shangjialianjie', old_name='yonghu_id', new_name='UserID'),
        migrations.RenameField(model_name='shangjialianjie', old_name='leixing_id', new_name='ProductTypeID'),
        migrations.RenameField(model_name='shangjialianjie', old_name='moban_id', new_name='TemplateID'),
        migrations.RenameField(model_name='shangjialianjie', old_name='lianjie', new_name='LinkURL'),
        migrations.RenameField(model_name='shangjialianjie', old_name='dingdan_id', new_name='OrderID'),
        migrations.RenameField(model_name='shangjialianjie', old_name='shiyongzhe_ip', new_name='UserIP'),
        migrations.RenameField(model_name='shangjialianjie', old_name='youxiao_shijian', new_name='ExpireTime'),
        migrations.RenameField(model_name='shangjialianjie', old_name='lianjie_token', new_name='LinkToken'),
        migrations.RenameField(model_name='shangjialianjie', old_name='previous_lianjie_id', new_name='PreviousLinkID'),
        migrations.RenameField(model_name='shangjialianjie', old_name='previous_dingdan_id', new_name='PreviousOrderID'),

        # TixianQuotaDefault
        migrations.RenameField(model_name='tixianquotadefault', old_name='leixing', new_name='UserType'),
    ]
