EditInfoModel.ets
808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export class EditListInfo{
//标题
title:string
//副标题
subTitle:string
constructor(title:string , subTitle:string) {
this.title = title;
this.subTitle = subTitle
}
}
export class EditInfoModel{
//头像
headPhotoUrl:string = ''
//昵称
userName:string = ''
//简介
introduction:string = ''
//城市
city:string = ''
//地区
county:string = ''
//生日
birthday:string = ''
//性别
sex:string = ''
constructor(headPhotoUrl:string , userName:string , introduction:string , city:string , county:string, birthday:string , sex:string) {
this.headPhotoUrl = headPhotoUrl;
this.userName = userName;
this.introduction = introduction;
this.city = city;
this.county = county;
this.birthday = birthday;
this.sex = sex;
}
}