zhengyiming
2025-02-24 58c6417603cc9e4c1012ba4fc4c6306dcb0e2324
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;
  }
}