export class ChangePassword { userId: string; // 用户编号 identityType: string; // 账户类型 oldPassword: string; // 旧密码 newPassword: string; // 新密码 repeatNewPassword: string; // 重复新密码 identityCode: string; // 用户身份证号 constructor( options: { userId?: string; identityType?: string; oldPassword?: string; newPassword?: string; repeatNewPassword?: string; identityCode?: string; } = {} ) { this.userId = options.userId || ""; this.identityType = options.identityType || ""; this.oldPassword = options.oldPassword || ""; this.newPassword = options.newPassword || ""; this.repeatNewPassword = options.repeatNewPassword || ""; this.identityCode = options.identityCode || ""; } }