chore: Rename entity to model (#7977)

**What**
Start renaming `entity` to `model`
This commit is contained in:
Adrien de Peretti
2024-07-08 07:43:49 +00:00
committed by GitHub
parent e11716fa1e
commit 9750047af1
60 changed files with 171 additions and 171 deletions
@@ -25,7 +25,7 @@ import Payment from "./payment"
import PaymentProvider from "./payment-provider"
import PaymentSession from "./payment-session"
type OptionalPaymentCollectionProps = "status" | DAL.EntityDateColumns
type OptionalPaymentCollectionProps = "status" | DAL.ModelDateColumns
@Entity({ tableName: "payment_collection" })
@Filter(DALUtils.mikroOrmSoftDeletableFilterOptions)
@@ -26,7 +26,7 @@ import PaymentCollection from "./payment-collection"
import PaymentSession from "./payment-session"
import Refund from "./refund"
type OptionalPaymentProps = DAL.EntityDateColumns
type OptionalPaymentProps = DAL.ModelDateColumns
@Entity({ tableName: "payment" })
@Filter(DALUtils.mikroOrmSoftDeletableFilterOptions)