# Sub Dictionary: `tbl_UserTransaction`

## Table Info

| Property | Value |
|----------|-------|
| Table | `tbl_UserTransaction` |
| Database | quitsure |
| Connection | `mysql` |
| Engine | InnoDB |
| Type | TABLE |
| Category | User |
| Laravel Model | `UserTransaction` (app/Models/UserTransaction.php) |

## Columns

| # | Column | Type | Nullable | Default | Key | Extra | Description |
|---|--------|------|----------|---------|-----|-------|-------------|
| 1 | `id` | `int unsigned` | NO | - | PRI | auto_increment | Auto-increment primary key |
| 2 | `iUserId` | `int unsigned` | NO | - | MUL | - | Integer: User Id (likely FK) |
| 3 | `vPlatform` | `varchar(50)` | YES | NULL | - | - | Varchar: Platform |
| 4 | `vTxn_Id` | `varchar(255)` | YES | NULL | - | - | Varchar: Txn_Id |
| 5 | `iPayCategory` | `int unsigned` | YES | NULL | MUL | - | Integer: Pay Category |
| 6 | `dDateCreated` | `datetime` | NO | `CURRENT_TIMESTAMP` | - | DEFAULT_GENERATED | Datetime: Date Created |
| 7 | `vOrderId` | `varchar(50)` | YES | NULL | - | - | Varchar: Order Id |

## Indexes

| Name | Columns | Unique | Type |
|------|---------|--------|------|
| `idx_tbl_UserTransaction_iPayCategory` | `iPayCategory` | NO | BTREE |
| `idx_tbl_UserTransaction_iUserId` | `iUserId` | NO | BTREE |
| `PRIMARY` | `id` | YES | BTREE |

## Foreign Keys

### Formal Foreign Keys

None defined.

### Implicit Relationships (from column naming)

| Column | Likely References |
|--------|------------------|
| `iUserId` | `tbl_Users.iUserID` |
