zhengyiming
2025-03-06 f0e0411fd7f7c018f0a835815beadddb28398e8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { BlLifeRechargeAccountModelOptions } from './types';
 
export class BlLifeRechargeAccountModel {
  userId = '';
  phoneNumber = '';
 
  constructor(options: BlLifeRechargeAccountModelOptions = {}) {
    const { userId = '', phoneNumber = '' } = options;
    this.setUserId(userId);
    this.setPhoneNumber(phoneNumber);
  }
 
  setUserId(userId: string) {
    this.userId = userId;
  }
 
  setPhoneNumber(phoneNumber: string) {
    this.phoneNumber = phoneNumber;
  }
}