chore: Rename entity to model (#7977)
**What** Start renaming `entity` to `model`
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user