updated forms
This commit is contained in:
25
app/classes/customer_social.py
Normal file
25
app/classes/customer_social.py
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
from app import db, ma
|
||||
|
||||
|
||||
class Customer_Customer_Social(db.Model):
|
||||
__tablename__ = 'customer_customer_social'
|
||||
__table_args__ = {"schema": "public"}
|
||||
|
||||
|
||||
id = db.Column(db.Integer,
|
||||
primary_key=True,
|
||||
autoincrement=True,
|
||||
unique=False)
|
||||
created = db.Column(db.DATE())
|
||||
customer_id = db.Column(db.INTEGER)
|
||||
poster_employee_id = db.Column(db.INTEGER)
|
||||
comment = db.Column(db.VARCHAR(1000))
|
||||
|
||||
|
||||
|
||||
|
||||
class Customer_Customer_Social_schema(ma.SQLAlchemyAutoSchema):
|
||||
class Meta:
|
||||
model = Customer_Customer_Social
|
||||
|
||||
Reference in New Issue
Block a user