You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB

4 years ago
/// name : "李旭清"
/// position : "集团创始人"
/// description : "1993年,台湾同胞李旭清在台湾创建“一心回乡”"
/// imgUrl : "https://pos.upload.gznl.top/MDAwMA==/2021/07/3f169d8c-5cb8-4789-a8f6-f2ce17277106.png"
/// profile : "<p><img class=\"wscnph\" src=\"https://pos.upload.gznl.top/MDAwMA==/2021/07/bdc0705d-7aa0-4677-a282-81d1b8a56e4b.png\" /></p>"
4 years ago
class Founder {
String _name;
String _position;
4 years ago
String _description;
String _imgUrl;
4 years ago
String _profile;
String get name => _name;
String get position => _position;
4 years ago
String get description => _description;
String get imgUrl => _imgUrl;
4 years ago
String get profile => _profile;
Founder({
String name,
String position,
4 years ago
String description,
String imgUrl,
4 years ago
String profile}){
_name = name;
_position = position;
4 years ago
_description = description;
_imgUrl = imgUrl;
4 years ago
_profile = profile;
}
Founder.fromJson(dynamic json) {
_name = json["name"];
_position = json["position"];
4 years ago
_description = json["description"];
_imgUrl = json["imgUrl"];
4 years ago
_profile = json["profile"];
}
Map<String, dynamic> toJson() {
var map = <String, dynamic>{};
map["name"] = _name;
map["position"] = _position;
4 years ago
map["description"] = _description;
map["imgUrl"] = _imgUrl;
4 years ago
map["profile"] = _profile;
return map;
}
}