@mikuroxina/mini-fn
    Preparing search index...

    Function entity

    • A Model for Entity type with schema for struct. It will append fields:

      • primaryKey - An unique identifier,
      • createdAt - Timestamp of created this,
      • updatedAt - Timestamp of updated this,
      • deletedAt - Timestamp of deleted this logically.

      Type Parameters

      Parameters

      • schema: S

      Returns Model.Model<Entity<S>>