export class Test { depositAmt: string; depositRate: string; putDate: string; getDate: string; constructor( options: { depositAmt?: string; depositRate?: string; putDate?: string; getDate?: string; } = {} ) { this.depositAmt = options.depositAmt || ""; this.depositRate = options.depositRate || ""; this.putDate = options.putDate || ""; this.getDate = options.getDate || ""; } }