Files
jyls_django/finance/models.py
Administrator b891d2369b gagreg
2025-12-24 13:51:20 +08:00

66 lines
3.0 KiB
Python

from django.db import models
# Create your models here.
class Invoice(models.Model):
ContractNo = models.TextField() # 合同号
personincharge = models.CharField(max_length=100) # 负责人
amount =models.CharField(max_length=100) # 开票金额
type = models.CharField(max_length=100) # 开票类型
unit = models.CharField(max_length=100) # 开票单位全称
number = models.CharField(max_length=100) # 纳税人识别号
address_telephone = models.CharField(max_length=100) # 地址/电话
bank = models.CharField(max_length=100) # 银行卡
state = models.CharField(max_length=100) # 状态
username = models.CharField(max_length=100) # 谁提交的
times = models.TextField() # 提交时间
class Income(models.Model):
times = models.CharField(max_length=100) # 收款日期
ContractNo = models.CharField(max_length=100) # 合同号
CustomerID = models.CharField(max_length=100) # 客户名称
amount = models.CharField(max_length=100) # 收款金额
allocate = models.CharField(max_length=100) # 收入分配
submit = models.CharField(max_length=100) # 谁提交的
submit_tiem = models.CharField(max_length=100) # 提交时间
state = models.CharField(max_length=100) # 状态
class Accounts(models.Model):
times = models.CharField(max_length=100) # 收款日期
ContractNo = models.CharField(max_length=100) # 合同号
CustomerID = models.CharField(max_length=100) # 客户名称
amount = models.CharField(max_length=100) # 收款金额
situation = models.TextField() # 情况
submit = models.CharField(max_length=100) # 谁提交的
submit_tiem = models.CharField(max_length=100) # 提交时间
state = models.CharField(max_length=100) # 状态
class Payment(models.Model):
reason = models.TextField() # 付款理由
amount = models.CharField(max_length=100) # 付款金额
times = models.CharField(max_length=100) # 付款日期
payee = models.CharField(max_length=100) # 收款人
bankcard = models.CharField(max_length=100) # 银行卡
BankName = models.CharField(max_length=100) # 开户行
applicant = models.CharField(max_length=100) # 申请人
submit_tiem = models.CharField(max_length=100) # 提交时间
state = models.CharField(max_length=100) # 状态
class Reimbursement(models.Model):
person = models.CharField(max_length=100) # 报销人
times = models.CharField(max_length=100) # 报销日期
reason = models.TextField() # 报销理由
amount = models.CharField(max_length=100) # 报销金额
FeeDescription = models.TextField() # 费用说明
submit_tiem = models.CharField(max_length=100) # 提交时间
state = models.CharField(max_length=100) # 状态
class BonusChange(models.Model):
username = models.CharField(max_length=100)
type = models.CharField(max_length=100)
Instructions = models.TextField() # 调整说明
times = models.CharField(max_length=100) # 时间
state = models.CharField(max_length=100) # 状态