added description

This commit is contained in:
2024-09-18 12:48:12 -04:00
parent d77c4e2478
commit d7c809af82
4 changed files with 118 additions and 24 deletions

View File

@@ -84,3 +84,21 @@ class Customer_Payment_Credit_schema(ma.SQLAlchemyAutoSchema):
class Customer_Description(db.Model):
__tablename__ = 'customer_description'
__bind_key__ = 'eamco'
__table_args__ = {"schema": "public"}
id = db.Column(db.Integer,
primary_key=True,
autoincrement=True,
unique=False)
customer_id = db.Column(db.INTEGER)
account_number = db.Column(db.VARCHAR(25))
company_id = db.Column(db.INTEGER)
fill_location = db.Column(db.INTEGER)
description = db.Column(db.VARCHAR(2000))
class Customer_Description_schema(ma.SQLAlchemyAutoSchema):
class Meta:
model = Customer_Description