You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kms-backend/models/reagent_storage_relation.py

25 lines
946 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# encodingutf-8
'''
@author: czf
@file:
@time: 2024/06/14
@desc:
'''
from tortoise import fields, models
class ReagentStorageRelation(models.Model):
relation_id = fields.IntField(pk=True, description='关系id')
storage_id = fields.IntField(description='配存序号')
category_name = fields.CharField(max_length=255, description='种类名称')
relation_storage_id = fields.IntField(description='关系配存序号')
relation_category_name = fields.CharField(max_length=255, description='关系种类名称')
relation_type = fields.IntField(description='关系类型1混存2、互为禁忌 3、隔离存放4、消按照分开存储')
standard_type = fields.CharField(max_length=255, description='国标类型')
remark = fields.CharField(max_length=255, description='备注')
class Meta:
table = 'reagent_storage_relation'
table_description = '化学品种类关系表'