"""Payment Group Payment Batch Account model.""" from abacus_common_logic.models.base import BaseModel, db class PaymentGroupPaymentBatchAccount(BaseModel): """Payment Group Payment Batch Account model.""" __tablename__ = 'payment_group_payment_batch_account' payment_group_payment_batch_account_id = db.Column(db.Integer, primary_key=True) payment_group_payment_account_id = db.Column( db.Integer, db.ForeignKey('payment_group_payment_account.payment_group_payment_account_id'), nullable=False, ) payment_group_payment_batch_id = db.Column( db.Integer, db.ForeignKey('payment_group_payment_batch.payment_group_payment_batch_id'), nullable=False, )