50 lines
1.5 KiB
Python
50 lines
1.5 KiB
Python
# Generated by Django 4.2.27 on 2026-03-04 23:27
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("peizhi", "0002_shangjiamoban_shangjialianjie"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="TixianQuotaDefault",
|
|
fields=[
|
|
("id", models.AutoField(primary_key=True, serialize=False)),
|
|
(
|
|
"leixing",
|
|
models.IntegerField(
|
|
choices=[(1, "打手"), (2, "管事")],
|
|
unique=True,
|
|
verbose_name="用户类型",
|
|
),
|
|
),
|
|
(
|
|
"default_quota",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=20.0,
|
|
max_digits=10,
|
|
verbose_name="默认每日提现限额(元)",
|
|
),
|
|
),
|
|
(
|
|
"create_time",
|
|
models.DateTimeField(auto_now_add=True, verbose_name="创建时间"),
|
|
),
|
|
(
|
|
"update_time",
|
|
models.DateTimeField(auto_now=True, verbose_name="更新时间"),
|
|
),
|
|
],
|
|
options={
|
|
"verbose_name": "默认提现限额",
|
|
"verbose_name_plural": "默认提现限额",
|
|
"db_table": "tixian_quota_default",
|
|
},
|
|
),
|
|
]
|