-
Notifications
You must be signed in to change notification settings - Fork 2
/
subscription.d.ts
29 lines (27 loc) · 1.04 KB
/
subscription.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export interface Subscription {
// id: string;
// emailAddress: string;
// phoneNumber: string;
// caseNumber: string;
// actionCode: string;
// actionDescription: string;
// amountDue: string;
// issueDate: string;
// violationCode: string;
// violationDescription: string;
// table.uuid('id').primary();
// table.string('email_address').notNullable().comment('This is the email field');
// table.string('phone_number').notNullable().comment('This is the phone number field');
// table.uuid('driver_license_id').notNullable().unsigned();
// table.foreign('driver_license_id').references('driver_license.id').onDelete('CASCADE');
// table.timestamp('created_on').defaultTo(knex.fn.now());
// table.timestamp('subscribed_on').defaultTo(knex.fn.now());
// table.timestamp('unsubscribed_on');
// table.timestamp('modified_on');
}
export interface SubscriptionRequest {
emailAddressClient: string;
phoneNumberClient: string;
driverLicenseIdClient: string;
countyClient: string;
}