|
@@ -0,0 +1,255 @@
|
|
|
+package com.cooleshow.chatmodule.bean;
|
|
|
+
|
|
|
+import android.os.Parcel;
|
|
|
+import android.os.Parcelable;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 创建日期:2022/5/20 17:07
|
|
|
+ *
|
|
|
+ * @author Ryan
|
|
|
+ * 类说明:
|
|
|
+ */
|
|
|
+public class MusicSheetListBean {
|
|
|
+
|
|
|
+ public int limit;
|
|
|
+ public int nextPage;
|
|
|
+ public int offset;
|
|
|
+ public int pageNo;
|
|
|
+ public int prePage;
|
|
|
+ public int total;
|
|
|
+ public int totalPage;
|
|
|
+ public List<RowsBean> rows;
|
|
|
+
|
|
|
+ public static class RowsBean implements Parcelable {
|
|
|
+ /*
|
|
|
+ {
|
|
|
+ "addName": "",
|
|
|
+ "addUserAvatar": "",
|
|
|
+ "audioFileUrl": "",
|
|
|
+ "audioType": "",
|
|
|
+ "auditStatus": "",
|
|
|
+ "auditVersion": "",
|
|
|
+ "canEvaluate": "",
|
|
|
+ "chargeType": "",
|
|
|
+ "composer": "",
|
|
|
+ "createBy": 0,
|
|
|
+ "createTime": "",
|
|
|
+ "delFlag": true,
|
|
|
+ "favorite": "",
|
|
|
+ "hasBeat": "",
|
|
|
+ "hotFlag": "",
|
|
|
+ "id": 0,
|
|
|
+ "metronomeUrl": "",
|
|
|
+ "midiUrl": "",
|
|
|
+ "mp3Type": "",
|
|
|
+ "musicPrice": 0,
|
|
|
+ "musicSheetName": "",
|
|
|
+ "musicSubject": "",
|
|
|
+ "musicTag": "",
|
|
|
+ "musicTagNames": "",
|
|
|
+ "play": "",
|
|
|
+ "playSpeed": 0,
|
|
|
+ "remark": "",
|
|
|
+ "showFingering": "",
|
|
|
+ "sortNumber": 0,
|
|
|
+ "sourceType": "",
|
|
|
+ "state": "",
|
|
|
+ "subjectNames": "",
|
|
|
+ "submitAuditTime": "",
|
|
|
+ "topFlag": "",
|
|
|
+ "updateBy": 0,
|
|
|
+ "updateTime": "",
|
|
|
+ "url": "",
|
|
|
+ "userId": 0,
|
|
|
+ "xmlFileUrl": ""
|
|
|
+ }
|
|
|
+
|
|
|
+ */
|
|
|
+
|
|
|
+ public String addName;
|
|
|
+ public String addUserAvatar;
|
|
|
+ public String audioFileUrl;
|
|
|
+ public String audioType;
|
|
|
+ public String auditStatus;
|
|
|
+ public String auditVersion;
|
|
|
+ public String canEvaluate;
|
|
|
+ public String chargeType;
|
|
|
+ public String composer;
|
|
|
+ public String createTime;
|
|
|
+ public boolean delFlag;
|
|
|
+ public String favorite;
|
|
|
+ public String hasBeat;
|
|
|
+ public String hotFlag;
|
|
|
+ public int id;
|
|
|
+ public String metronomeUrl;
|
|
|
+ public String midiUrl;
|
|
|
+ public String mp3Type;
|
|
|
+ public String musicPrice;
|
|
|
+ public String musicSheetName;
|
|
|
+ public String musicSubject;
|
|
|
+ public String musicTag;
|
|
|
+ public String musicTagNames;
|
|
|
+ public String play;
|
|
|
+ public int playSpeed;
|
|
|
+ public String remark;
|
|
|
+ public String showFingering;
|
|
|
+ public int sortNumber;
|
|
|
+ public String sourceType;
|
|
|
+ public String state;
|
|
|
+ public String subjectNames;
|
|
|
+ public String submitAuditTime;
|
|
|
+ public String topFlag;
|
|
|
+ public String updateTime;
|
|
|
+ public String url;
|
|
|
+ public int userId;
|
|
|
+ public String xmlFileUrl;
|
|
|
+ public boolean isSelect;
|
|
|
+
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int describeContents() {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void writeToParcel(Parcel dest, int flags) {
|
|
|
+ dest.writeString(this.addName);
|
|
|
+ dest.writeString(this.addUserAvatar);
|
|
|
+ dest.writeString(this.audioFileUrl);
|
|
|
+ dest.writeString(this.audioType);
|
|
|
+ dest.writeString(this.auditStatus);
|
|
|
+ dest.writeString(this.auditVersion);
|
|
|
+ dest.writeString(this.canEvaluate);
|
|
|
+ dest.writeString(this.chargeType);
|
|
|
+ dest.writeString(this.composer);
|
|
|
+ dest.writeString(this.createTime);
|
|
|
+ dest.writeByte(this.delFlag ? (byte) 1 : (byte) 0);
|
|
|
+ dest.writeString(this.favorite);
|
|
|
+ dest.writeString(this.hasBeat);
|
|
|
+ dest.writeString(this.hotFlag);
|
|
|
+ dest.writeInt(this.id);
|
|
|
+ dest.writeString(this.metronomeUrl);
|
|
|
+ dest.writeString(this.midiUrl);
|
|
|
+ dest.writeString(this.mp3Type);
|
|
|
+ dest.writeString(this.musicPrice);
|
|
|
+ dest.writeString(this.musicSheetName);
|
|
|
+ dest.writeString(this.musicSubject);
|
|
|
+ dest.writeString(this.musicTag);
|
|
|
+ dest.writeString(this.musicTagNames);
|
|
|
+ dest.writeString(this.play);
|
|
|
+ dest.writeInt(this.playSpeed);
|
|
|
+ dest.writeString(this.remark);
|
|
|
+ dest.writeString(this.showFingering);
|
|
|
+ dest.writeInt(this.sortNumber);
|
|
|
+ dest.writeString(this.sourceType);
|
|
|
+ dest.writeString(this.state);
|
|
|
+ dest.writeString(this.subjectNames);
|
|
|
+ dest.writeString(this.submitAuditTime);
|
|
|
+ dest.writeString(this.topFlag);
|
|
|
+ dest.writeString(this.updateTime);
|
|
|
+ dest.writeString(this.url);
|
|
|
+ dest.writeInt(this.userId);
|
|
|
+ dest.writeString(this.xmlFileUrl);
|
|
|
+ dest.writeByte(this.isSelect ? (byte) 1 : (byte) 0);
|
|
|
+ }
|
|
|
+
|
|
|
+ public void readFromParcel(Parcel source) {
|
|
|
+ this.addName = source.readString();
|
|
|
+ this.addUserAvatar = source.readString();
|
|
|
+ this.audioFileUrl = source.readString();
|
|
|
+ this.audioType = source.readString();
|
|
|
+ this.auditStatus = source.readString();
|
|
|
+ this.auditVersion = source.readString();
|
|
|
+ this.canEvaluate = source.readString();
|
|
|
+ this.chargeType = source.readString();
|
|
|
+ this.composer = source.readString();
|
|
|
+ this.createTime = source.readString();
|
|
|
+ this.delFlag = source.readByte() != 0;
|
|
|
+ this.favorite = source.readString();
|
|
|
+ this.hasBeat = source.readString();
|
|
|
+ this.hotFlag = source.readString();
|
|
|
+ this.id = source.readInt();
|
|
|
+ this.metronomeUrl = source.readString();
|
|
|
+ this.midiUrl = source.readString();
|
|
|
+ this.mp3Type = source.readString();
|
|
|
+ this.musicPrice = source.readString();
|
|
|
+ this.musicSheetName = source.readString();
|
|
|
+ this.musicSubject = source.readString();
|
|
|
+ this.musicTag = source.readString();
|
|
|
+ this.musicTagNames = source.readString();
|
|
|
+ this.play = source.readString();
|
|
|
+ this.playSpeed = source.readInt();
|
|
|
+ this.remark = source.readString();
|
|
|
+ this.showFingering = source.readString();
|
|
|
+ this.sortNumber = source.readInt();
|
|
|
+ this.sourceType = source.readString();
|
|
|
+ this.state = source.readString();
|
|
|
+ this.subjectNames = source.readString();
|
|
|
+ this.submitAuditTime = source.readString();
|
|
|
+ this.topFlag = source.readString();
|
|
|
+ this.updateTime = source.readString();
|
|
|
+ this.url = source.readString();
|
|
|
+ this.userId = source.readInt();
|
|
|
+ this.xmlFileUrl = source.readString();
|
|
|
+ this.isSelect = source.readByte() != 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ public RowsBean() {
|
|
|
+ }
|
|
|
+
|
|
|
+ protected RowsBean(Parcel in) {
|
|
|
+ this.addName = in.readString();
|
|
|
+ this.addUserAvatar = in.readString();
|
|
|
+ this.audioFileUrl = in.readString();
|
|
|
+ this.audioType = in.readString();
|
|
|
+ this.auditStatus = in.readString();
|
|
|
+ this.auditVersion = in.readString();
|
|
|
+ this.canEvaluate = in.readString();
|
|
|
+ this.chargeType = in.readString();
|
|
|
+ this.composer = in.readString();
|
|
|
+ this.createTime = in.readString();
|
|
|
+ this.delFlag = in.readByte() != 0;
|
|
|
+ this.favorite = in.readString();
|
|
|
+ this.hasBeat = in.readString();
|
|
|
+ this.hotFlag = in.readString();
|
|
|
+ this.id = in.readInt();
|
|
|
+ this.metronomeUrl = in.readString();
|
|
|
+ this.midiUrl = in.readString();
|
|
|
+ this.mp3Type = in.readString();
|
|
|
+ this.musicPrice = in.readString();
|
|
|
+ this.musicSheetName = in.readString();
|
|
|
+ this.musicSubject = in.readString();
|
|
|
+ this.musicTag = in.readString();
|
|
|
+ this.musicTagNames = in.readString();
|
|
|
+ this.play = in.readString();
|
|
|
+ this.playSpeed = in.readInt();
|
|
|
+ this.remark = in.readString();
|
|
|
+ this.showFingering = in.readString();
|
|
|
+ this.sortNumber = in.readInt();
|
|
|
+ this.sourceType = in.readString();
|
|
|
+ this.state = in.readString();
|
|
|
+ this.subjectNames = in.readString();
|
|
|
+ this.submitAuditTime = in.readString();
|
|
|
+ this.topFlag = in.readString();
|
|
|
+ this.updateTime = in.readString();
|
|
|
+ this.url = in.readString();
|
|
|
+ this.userId = in.readInt();
|
|
|
+ this.xmlFileUrl = in.readString();
|
|
|
+ this.isSelect = in.readByte() != 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final Creator<RowsBean> CREATOR = new Creator<RowsBean>() {
|
|
|
+ @Override
|
|
|
+ public RowsBean createFromParcel(Parcel source) {
|
|
|
+ return new RowsBean(source);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public RowsBean[] newArray(int size) {
|
|
|
+ return new RowsBean[size];
|
|
|
+ }
|
|
|
+ };
|
|
|
+ }
|
|
|
+}
|