新增 zdcx/zdhf 接口及订单表指定响应字段,供抢单页想接/不想接/等会接。 Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('orders', '0013_fakegrabordershufflestate_ordersequence'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='order',
|
|
name='AssignedResponse',
|
|
field=models.PositiveSmallIntegerField(
|
|
blank=True, null=True,
|
|
db_column='zhiding_hf',
|
|
verbose_name='指定打手响应 1想接 2不想接 3等会接',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='order',
|
|
name='AssignedResponseAt',
|
|
field=models.DateTimeField(
|
|
blank=True, null=True,
|
|
db_column='zhiding_hf_sj',
|
|
verbose_name='指定响应时间',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='order',
|
|
name='AssignedLaterNote',
|
|
field=models.CharField(
|
|
blank=True, default='',
|
|
max_length=100,
|
|
db_column='zhiding_dhj_sm',
|
|
verbose_name='等会接说明',
|
|
),
|
|
),
|
|
]
|