security/codeql-dependabot-gitleaks
| 1 | import { model } from "@medusajs/framework/utils" |
| 2 | import PaymentCollection from "./payment-collection" |
| 3 | |
| 4 | const PaymentProvider = model.define("PaymentProvider", { |
| 5 | id: model.id().primaryKey(), |
| 6 | is_enabled: model.boolean().default(true), |
| 7 | payment_collections: model.manyToMany(() => PaymentCollection, { |
| 8 | mappedBy: "payment_providers", |
| 9 | }), |
| 10 | }) |
| 11 | |
| 12 | export default PaymentProvider |