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