All files / src/types AppointmentImpl.ts

0% Statements 0/50
100% Branches 1/1
100% Functions 1/1
0% Lines 0/50

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70                                                                                                                                           
import { AppointmentDTO } from "@/api/models/AppointmentDTO";
import { Scope } from "@/api/models/Scope";
import { SubRequestCount } from "@/api/models/SubRequestCount";
 
export class AppointmentImpl implements AppointmentDTO {
  processId: string;
 
  timestamp: number;
 
  authKey: string;
 
  firstName?: string;
 
  familyName: string;
 
  email: string;
 
  telephone?: string;
 
  customTextfield?: string;
 
  customTextfield2?: string;
 
  officeId: string;
 
  scope: Scope;
 
  subRequestCounts: SubRequestCount[];
 
  serviceId: string;
 
  serviceName: string;
 
  serviceCount: number;
 
  constructor(
    processId: string,
    timestamp: number,
    authKey: string,
    firstName: string | undefined,
    familyName: string,
    email: string,
    telephone: string | undefined,
    customTextfield: string | undefined,
    customTextfield2: string | undefined,
    officeId: string,
    scope: Scope,
    subRequestCounts: any[],
    serviceId: string,
    serviceName: string,
    serviceCount: number
  ) {
    this.processId = processId;
    this.timestamp = timestamp;
    this.authKey = authKey;
    this.firstName = firstName;
    this.familyName = familyName;
    this.email = email;
    this.telephone = telephone;
    this.customTextfield = customTextfield;
    this.customTextfield2 = customTextfield2;
    this.officeId = officeId;
    this.scope = scope;
    this.subRequestCounts = subRequestCounts;
    this.serviceId = serviceId;
    this.serviceName = serviceName;
    this.serviceCount = serviceCount;
  }
}