fix: 罚单申请时锁定分红利率与应得金额,缴纳按锁定值入账
This commit is contained in:
31
orders/migrations/0009_penalty_bonus_lock_fields.py
Normal file
31
orders/migrations/0009_penalty_bonus_lock_fields.py
Normal file
@@ -0,0 +1,31 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders', '0008_order_waibu_penalty_staff'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='penalty',
|
||||
name='ApplicantBonusRate',
|
||||
field=models.DecimalField(
|
||||
db_column='shenqingren_fenhong_lilv',
|
||||
decimal_places=4,
|
||||
default=0.0,
|
||||
max_digits=5,
|
||||
verbose_name='申请人分红锁定利率',
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='penalty',
|
||||
name='BonusCredited',
|
||||
field=models.BooleanField(
|
||||
db_column='fenhong_yiruzhang',
|
||||
default=False,
|
||||
verbose_name='分红是否已入账',
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user