/* * Copyright 2007-2107 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package net.ymate.platform.module.wechat.message; import java.io.Serializable; import com.thoughtworks.xstream.annotations.XStreamAlias; /** * <p> * MediaId * </p> * <p> * * </p> * * @author 刘镇(suninformation@163.com) * @version 0.0.0 * <table style="border:1px solid gray;"> * <tr> * <th width="100px">版本号</th><th width="100px">动作</th><th * width="100px">修改人</th><th width="100px">修改时间</th> * </tr> * <!-- 以 Table 方式书写修改历史 --> * <tr> * <td>0.0.0</td> * <td>创建类</td> * <td>刘镇</td> * <td>2014年3月15日上午11:13:31</td> * </tr> * </table> */ public class MediaId implements Serializable{ /** * */ private static final long serialVersionUID = 8809890500538400384L; // @XStreamImplicit(itemFieldName = "MediaId") // private List<String> mediaIds = new ArrayList<String>(); // // public List<String> getMediaIds() { // return mediaIds; // } // // public void setMediaIds(List<String> mediaIds) { // this.mediaIds = mediaIds; // } @XStreamAlias("MediaId") private String mediaId; @XStreamAlias("Title") private String title; @XStreamAlias("Description") private String description; @XStreamAlias("MusicUrl") private String musicUrl; @XStreamAlias("HQMusicUrl") private String hqMusicUrl; @XStreamAlias("ThumbMediaId") private String thumbMediaId; public MediaId() { } public MediaId(String mediaId) { this.mediaId = mediaId; } public String getMediaId() { return mediaId; } public void setMediaId(String mediaId) { this.mediaId = mediaId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getMusicUrl() { return musicUrl; } public void setMusicUrl(String musicUrl) { this.musicUrl = musicUrl; } public String getHqMusicUrl() { return hqMusicUrl; } public void setHqMusicUrl(String hqMusicUrl) { this.hqMusicUrl = hqMusicUrl; } public String getThumbMediaId() { return thumbMediaId; } public void setThumbMediaId(String thumbMediaId) { this.thumbMediaId = thumbMediaId; } }