fix: 修复model异常
This commit is contained in:
@@ -4,10 +4,11 @@ from sqlalchemy import Column, Integer, String, Numeric, Date, UniqueConstraint,
|
||||
|
||||
from calculators import Helper
|
||||
from commons.models.mixin.steel import SteelMixin
|
||||
from commons.models.model import Model
|
||||
from core.extensions import db
|
||||
|
||||
|
||||
class SteelRebar(db.Model, SteelMixin):
|
||||
class SteelRebar(db.Model, Model, SteelMixin):
|
||||
__tablename__ = 'STEEL_REBAR'
|
||||
id = Column('ID', Integer, primary_key=True)
|
||||
name = Column('NAME', String(128), default='', comment='名称')
|
||||
|
Reference in New Issue
Block a user