12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- 用户信息模型
- * */
- import 'JXServiceModel.dart';
- class JXMemberModel {
- /*姓名*/
- String name = '';
- /*电话*/
- String tel = '';
- /*生日信息*/
- String birth = '';
- /*地址*/
- String prov = '';
- String city = '';
- String area = '';
- String addr = '';
- /*其他*/
- String remark = '';
- /*服务*/
- List <JXServiceModel> service = [];
- Map<String, dynamic> toMap() {
- return {
- name: name,
- tel: tel,
- birth: birth,
- prov: prov,
- city: city,
- area: area,
- addr: addr,
- remark: remark,
- }.map((key, value) => key.isNotEmpty?MapEntry(key, value):null);
- }
- }
|