# Sub Dictionary: `tbl_OutreachJobs`

## Table Info

| Property | Value |
|----------|-------|
| Table | `tbl_OutreachJobs` |
| Database | quitsure |
| Connection | `mysql` |
| Engine | InnoDB |
| Type | TABLE |
| Category | Admin |
| Laravel Model | `OutreachJob` (app/Models/OutreachJob.php) |
| Comment | Tracks bulk outreach (admin marketing) email jobs - filters used, template, counts and status |

## Columns

| # | Column | Type | Nullable | Default | Key | Extra | Description |
|---|--------|------|----------|---------|-----|-------|-------------|
| 1 | `iOutreachJobID` | `bigint unsigned` | NO | - | PRI | auto_increment | Integer: Outreach Job ID |
| 2 | `jFilters` | `json` | NO | - | - | - | JSON: User-segment filters used to build the recipient list |
| 3 | `vTemplateAlias` | `varchar(200)` | NO | - | - | - | Varchar: Postmark template alias used for the campaign |
| 4 | `vAdminEmail` | `varchar(255)` | YES | NULL | - | - | Varchar: Admin who launched the job |
| 5 | `vStatus` | `varchar(30)` | NO | `running` | - | - | Varchar: Job status - `running`, `complete`, or `failed` |
| 6 | `iTotal` | `int` | NO | `0` | - | - | Integer: Total recipients targeted |
| 7 | `iSent` | `int` | NO | `0` | - | - | Integer: Emails successfully sent |
| 8 | `iFailed` | `int` | NO | `0` | - | - | Integer: Emails that failed to send |
| 9 | `vError` | `text` | YES | NULL | - | - | Text: Error details if the job failed |
| 10 | `dDateCreated` | `datetime` | NO | `CURRENT_TIMESTAMP` | - | DEFAULT_GENERATED | Datetime: Date Created |
| 11 | `dDateUpdated` | `datetime` | YES | NULL | - | - | Datetime: Date Updated |

## Indexes

| Name | Columns | Unique | Type |
|------|---------|--------|------|
| `PRIMARY` | `iOutreachJobID` | YES | BTREE |

## Foreign Keys

### Formal Foreign Keys

None defined.

### Implicit Relationships (from column naming)

| Column | Likely References |
|--------|------------------|
| `vAdminEmail` | `tbl_Admin.vEmailId` |