services api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from Schemas.base_imports import (
|
||||
CrudCollection,
|
||||
String,
|
||||
Text,
|
||||
Integer,
|
||||
Boolean,
|
||||
ForeignKey,
|
||||
@@ -384,9 +385,9 @@ class AccountRecordsPredict(CrudCollection):
|
||||
|
||||
account_records_id: Mapped[int] = mapped_column(ForeignKey("account_records.id"), nullable=False)
|
||||
account_records_uu_id: Mapped[str] = mapped_column(String(100), nullable=False)
|
||||
prediction_model: Mapped[str] = mapped_column(String(10), nullable=False)
|
||||
prediction_result: Mapped[int] = mapped_column(Integer, nullable=False)
|
||||
prediction_field: Mapped[str] = mapped_column(String(10), nullable=False, server_default="")
|
||||
prediction_model: Mapped[str] = mapped_column(String, nullable=False)
|
||||
prediction_result: Mapped[str] = mapped_column(Text, nullable=False)
|
||||
prediction_field: Mapped[str] = mapped_column(String, nullable=False, server_default="")
|
||||
treshold: Mapped[float] = mapped_column(Numeric(18, 6), nullable=True)
|
||||
is_first_prediction: Mapped[bool] = mapped_column(Boolean, server_default="0")
|
||||
is_approved: Mapped[bool] = mapped_column(Boolean, server_default="0")
|
||||
|
||||
Reference in New Issue
Block a user