| | |
| | | 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) { |
| | |
| | | setPhoneNumber(phoneNumber: string) { |
| | | this.phoneNumber = phoneNumber; |
| | | } |
| | | setChannlesNum(channlesNum: string) { |
| | | this.channlesNum = channlesNum; |
| | | } |
| | | } |