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.
65 lines
1.7 KiB
65 lines
1.7 KiB
import 'package:huixiang/retrofit/data/data_type.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
/// id : "1408344470671327232" |
|
/// createTime : "2021-06-25 16:41:02" |
|
/// createUser : "1405494095400402944" |
|
/// updateTime : "2021-06-25 16:41:02" |
|
/// updateUser : "1405494095400402944" |
|
/// dataType : {"desc":"其他","code":"OTHER"} |
|
/// submittedFileName : "image_picker_E8FC145E-9E67-4C1A-93D7-CB0620BCB59E-43438-000017700F6A34FC.jpg" |
|
/// treePath : "," |
|
/// grade : 1 |
|
/// isDelete : false |
|
/// folderId : "1231312123" |
|
/// url : "https://pos.upload.gznl.top/admin/2021/06/f09216ed-a4ab-4a8d-87ac-4a74fb519a54.jpg" |
|
/// size : "9604853" |
|
/// folderName : "" |
|
/// group : null |
|
/// path : "admin/2021/06" |
|
/// relativePath : "admin/2021/06" |
|
/// fileMd5 : null |
|
/// contextType : "application/octet-stream" |
|
/// filename : "f09216ed-a4ab-4a8d-87ac-4a74fb519a54.jpg" |
|
/// ext : "jpg" |
|
/// icon : "el-icon-picture" |
|
/// createMonth : "2021年06月" |
|
/// createWeek : "2021年26周" |
|
/// createDay : "2021年06月25日" |
|
|
|
part 'upload_result.g.dart'; |
|
|
|
@JsonSerializable() |
|
class UploadResult { |
|
UploadResult(); |
|
String id; |
|
String createTime; |
|
String createUser; |
|
String updateTime; |
|
String updateUser; |
|
DataType dataType; |
|
String submittedFileName; |
|
String treePath; |
|
int grade; |
|
bool isDelete; |
|
String folderId; |
|
String url; |
|
String size; |
|
String folderName; |
|
dynamic group; |
|
String path; |
|
String relativePath; |
|
dynamic fileMd5; |
|
String contextType; |
|
String filename; |
|
String ext; |
|
String icon; |
|
String createMonth; |
|
String createWeek; |
|
String createDay; |
|
|
|
factory UploadResult.fromJson(Map<String, dynamic> json) => |
|
_$UploadResultFromJson(json); |
|
Map<String, dynamic> toJson() => _$UploadResultToJson(this); |
|
|
|
}
|
|
|