[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/orm](../../README) / [index](../README) / BaseModelWith

# Function: BaseModelWith()

## Call Signature

> **BaseModelWith**\<`A`\>(`a`): `A`

Defined in: [packages/orm/src/model/mixins.ts:60](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L60)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

### Returns

`A`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`\>(`a`, `b`): `B`

Defined in: [packages/orm/src/model/mixins.ts:61](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L61)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

### Returns

`B`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`\>(`a`, `b`, `c`): `C`

Defined in: [packages/orm/src/model/mixins.ts:65](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L65)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

### Returns

`C`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`\>(`a`, `b`, `c`, `d`): `D`

Defined in: [packages/orm/src/model/mixins.ts:70](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L70)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

### Returns

`D`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`\>(`a`, `b`, `c`, `d`, `e`): `E`

Defined in: [packages/orm/src/model/mixins.ts:76](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L76)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

### Returns

`E`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`\>(`a`, `b`, `c`, `d`, `e`, `f`): `F`

Defined in: [packages/orm/src/model/mixins.ts:89](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L89)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

### Returns

`F`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`): `G`

Defined in: [packages/orm/src/model/mixins.ts:104](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L104)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

### Returns

`G`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`): `H`

Defined in: [packages/orm/src/model/mixins.ts:121](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L121)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

### Returns

`H`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`): `I`

Defined in: [packages/orm/src/model/mixins.ts:140](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L140)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

### Returns

`I`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`): `J`

Defined in: [packages/orm/src/model/mixins.ts:161](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L161)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

### Returns

`J`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`): `K`

Defined in: [packages/orm/src/model/mixins.ts:184](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L184)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

### Returns

`K`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`): `L`

Defined in: [packages/orm/src/model/mixins.ts:209](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L209)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

### Returns

`L`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`): `M`

Defined in: [packages/orm/src/model/mixins.ts:236](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L236)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

### Returns

`M`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`): `N`

Defined in: [packages/orm/src/model/mixins.ts:265](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L265)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

### Returns

`N`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`): `O`

Defined in: [packages/orm/src/model/mixins.ts:296](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L296)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

### Returns

`O`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`, `p`): `P`

Defined in: [packages/orm/src/model/mixins.ts:329](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L329)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### P

`P` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

#### p

(`base`) => `P`

### Returns

`P`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`, `Q`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`, `p`, `q`): `Q`

Defined in: [packages/orm/src/model/mixins.ts:364](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L364)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### P

`P` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### Q

`Q` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

#### p

(`base`) => `P`

#### q

(`base`) => `Q`

### Returns

`Q`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`, `Q`, `R`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`, `p`, `q`, `r`): `R`

Defined in: [packages/orm/src/model/mixins.ts:401](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L401)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### P

`P` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### Q

`Q` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### R

`R` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

#### p

(`base`) => `P`

#### q

(`base`) => `Q`

#### r

(`base`) => `R`

### Returns

`R`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`, `Q`, `R`, `S`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`, `p`, `q`, `r`, `s`): `S`

Defined in: [packages/orm/src/model/mixins.ts:440](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L440)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### P

`P` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### Q

`Q` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### R

`R` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### S

`S` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

#### p

(`base`) => `P`

#### q

(`base`) => `Q`

#### r

(`base`) => `R`

#### s

(`base`) => `S`

### Returns

`S`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```

## Call Signature

> **BaseModelWith**\<`A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`, `Q`, `R`, `S`, `T`\>(`a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `k`, `l`, `m`, `n`, `o`, `p`, `q`, `r`, `s`, `t`): `T`

Defined in: [packages/orm/src/model/mixins.ts:481](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/orm/src/model/mixins.ts#L481)

Compose any number of model [mixins](../type-aliases/Mixin) on top of [BaseModel](../classes/BaseModel),
folding them left-to-right so the resulting class carries `BaseModel`'s full
static surface (`query()`, `find()`, `create()`, scopes, …) plus every mixin's
instance and static members — all fully type-checked.

Prefer this over hand-nesting mixins (`Roles(Permissions(AuthUser))`), which
reads inside-out and repeats the base. Each overload (1–20 mixins) threads the
accumulated type through every step; for more, nest a second `BaseModelWith(...)`.

### Type Parameters

#### A

`A` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### B

`B` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### C

`C` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### D

`D` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### E

`E` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### F

`F` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### G

`G` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### H

`H` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### I

`I` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### J

`J` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### K

`K` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### L

`L` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### M

`M` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### N

`N` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### O

`O` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### P

`P` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### Q

`Q` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### R

`R` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### S

`S` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

#### T

`T` *extends* [`Constructor`](../type-aliases/Constructor)\<`object`\>

### Parameters

#### a

(`base`) => `A`

#### b

(`base`) => `B`

#### c

(`base`) => `C`

#### d

(`base`) => `D`

#### e

(`base`) => `E`

#### f

(`base`) => `F`

#### g

(`base`) => `G`

#### h

(`base`) => `H`

#### i

(`base`) => `I`

#### j

(`base`) => `J`

#### k

(`base`) => `K`

#### l

(`base`) => `L`

#### m

(`base`) => `M`

#### n

(`base`) => `N`

#### o

(`base`) => `O`

#### p

(`base`) => `P`

#### q

(`base`) => `Q`

#### r

(`base`) => `R`

#### s

(`base`) => `S`

#### t

(`base`) => `T`

### Returns

`T`

A model class extending `BaseModel` with every mixin applied.

### Example

```ts
class User extends BaseModelWith(Authenticatable, Permissions, Roles) {}
```
