zhengyiming
2025-03-27 55c03f35a31979aefd46aead13a145c9b293e6d8
packages/core/src/lifeRechargeAccountModel.ts
@@ -1,13 +1,16 @@
import { BlLifeRechargeAccountModelOptions } from './types';
import { LifePayPhoneMesssageCodeLoginOutput } from './lifeRechargeServices';
export class BlLifeRechargeAccountModel {
  userId = '';
  phoneNumber = '';
  channlesNum = '';
  constructor(options: BlLifeRechargeAccountModelOptions = {}) {
    const { userId = '', phoneNumber = '' } = options;
    const { userId = '', phoneNumber = '', channlesNum } = options;
    this.setUserId(userId);
    this.setPhoneNumber(phoneNumber);
    this.setChannlesNum(channlesNum);
  }
  setUserId(userId: string) {
@@ -17,4 +20,7 @@
  setPhoneNumber(phoneNumber: string) {
    this.phoneNumber = phoneNumber;
  }
  setChannlesNum(channlesNum: string) {
    this.channlesNum = channlesNum;
  }
}