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.
148 lines
4.0 KiB
148 lines
4.0 KiB
/// id : "1491606527402835968" |
|
/// createTime : "2022-02-10 10:54:43" |
|
/// createUser : "1478548720785031168" |
|
/// updateTime : "2022-02-10 10:54:43" |
|
/// updateUser : "1478548720785031168" |
|
/// storeId : "1460885296764682240" |
|
/// type : 1 |
|
/// actTemplateId : "1490571620652154880" |
|
/// actTimeId : "1490571620887035904" |
|
/// actRecordId : "1491606526735941632" |
|
/// mid : "1478548720785031168" |
|
/// orderId : "1491606528052953088" |
|
/// isLeader : true |
|
/// memberAvatar : "" |
|
/// memberNickname : "斯基" |
|
/// productId : "1490571670107193344" |
|
/// actPrice : "60" |
|
/// state : false |
|
/// isDelete : null |
|
|
|
class LaunchJoinAct { |
|
LaunchJoinAct({ |
|
String id, |
|
String createTime, |
|
String createUser, |
|
String updateTime, |
|
String updateUser, |
|
String storeId, |
|
int type, |
|
String actTemplateId, |
|
String actTimeId, |
|
String actRecordId, |
|
String mid, |
|
String orderId, |
|
bool isLeader, |
|
String memberAvatar, |
|
String memberNickname, |
|
String productId, |
|
String actPrice, |
|
bool state, |
|
dynamic isDelete,}){ |
|
_id = id; |
|
_createTime = createTime; |
|
_createUser = createUser; |
|
_updateTime = updateTime; |
|
_updateUser = updateUser; |
|
_storeId = storeId; |
|
_type = type; |
|
_actTemplateId = actTemplateId; |
|
_actTimeId = actTimeId; |
|
_actRecordId = actRecordId; |
|
_mid = mid; |
|
_orderId = orderId; |
|
_isLeader = isLeader; |
|
_memberAvatar = memberAvatar; |
|
_memberNickname = memberNickname; |
|
_productId = productId; |
|
_actPrice = actPrice; |
|
_state = state; |
|
_isDelete = isDelete; |
|
} |
|
|
|
LaunchJoinAct.fromJson(dynamic json) { |
|
_id = json['id']; |
|
_createTime = json['createTime']; |
|
_createUser = json['createUser']; |
|
_updateTime = json['updateTime']; |
|
_updateUser = json['updateUser']; |
|
_storeId = json['storeId']; |
|
_type = json['type']; |
|
_actTemplateId = json['actTemplateId']; |
|
_actTimeId = json['actTimeId']; |
|
_actRecordId = json['actRecordId']; |
|
_mid = json['mid']; |
|
_orderId = json['orderId']; |
|
_isLeader = json['isLeader']; |
|
_memberAvatar = json['memberAvatar']; |
|
_memberNickname = json['memberNickname']; |
|
_productId = json['productId']; |
|
_actPrice = json['actPrice']; |
|
_state = json['state']; |
|
_isDelete = json['isDelete']; |
|
} |
|
String _id; |
|
String _createTime; |
|
String _createUser; |
|
String _updateTime; |
|
String _updateUser; |
|
String _storeId; |
|
int _type; |
|
String _actTemplateId; |
|
String _actTimeId; |
|
String _actRecordId; |
|
String _mid; |
|
String _orderId; |
|
bool _isLeader; |
|
String _memberAvatar; |
|
String _memberNickname; |
|
String _productId; |
|
String _actPrice; |
|
bool _state; |
|
dynamic _isDelete; |
|
|
|
String get id => _id; |
|
String get createTime => _createTime; |
|
String get createUser => _createUser; |
|
String get updateTime => _updateTime; |
|
String get updateUser => _updateUser; |
|
String get storeId => _storeId; |
|
int get type => _type; |
|
String get actTemplateId => _actTemplateId; |
|
String get actTimeId => _actTimeId; |
|
String get actRecordId => _actRecordId; |
|
String get mid => _mid; |
|
String get orderId => _orderId; |
|
bool get isLeader => _isLeader; |
|
String get memberAvatar => _memberAvatar; |
|
String get memberNickname => _memberNickname; |
|
String get productId => _productId; |
|
String get actPrice => _actPrice; |
|
bool get state => _state; |
|
dynamic get isDelete => _isDelete; |
|
|
|
Map<String, dynamic> toJson() { |
|
final map = <String, dynamic>{}; |
|
map['id'] = _id; |
|
map['createTime'] = _createTime; |
|
map['createUser'] = _createUser; |
|
map['updateTime'] = _updateTime; |
|
map['updateUser'] = _updateUser; |
|
map['storeId'] = _storeId; |
|
map['type'] = _type; |
|
map['actTemplateId'] = _actTemplateId; |
|
map['actTimeId'] = _actTimeId; |
|
map['actRecordId'] = _actRecordId; |
|
map['mid'] = _mid; |
|
map['orderId'] = _orderId; |
|
map['isLeader'] = _isLeader; |
|
map['memberAvatar'] = _memberAvatar; |
|
map['memberNickname'] = _memberNickname; |
|
map['productId'] = _productId; |
|
map['actPrice'] = _actPrice; |
|
map['state'] = _state; |
|
map['isDelete'] = _isDelete; |
|
return map; |
|
} |
|
|
|
} |