83 lines
2.5 KiB
Python
83 lines
2.5 KiB
Python
# Generated by Django 6.0 on 2026-01-09 12:17
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("peizhi", "0002_qunpeizhi"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Szjilu",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
primary_key=True, serialize=False, verbose_name="记录ID"
|
|
),
|
|
),
|
|
(
|
|
"zongsy",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=0.0,
|
|
max_digits=10,
|
|
verbose_name="总收益",
|
|
),
|
|
),
|
|
(
|
|
"zongls",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=0.0,
|
|
max_digits=10,
|
|
verbose_name="总流水",
|
|
),
|
|
),
|
|
(
|
|
"zongzc",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=0.0,
|
|
max_digits=10,
|
|
verbose_name="总支出",
|
|
),
|
|
),
|
|
(
|
|
"jrzc",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=0.0,
|
|
max_digits=10,
|
|
verbose_name="今日支出",
|
|
),
|
|
),
|
|
(
|
|
"jrls",
|
|
models.DecimalField(
|
|
decimal_places=2,
|
|
default=0.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": "szjilu",
|
|
},
|
|
),
|
|
]
|