com.tmsps.ne4weixin.bean.message.send.vo.Music Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ne4weixin Show documentation
Show all versions of ne4weixin Show documentation
Ne4WeiXin For Spring is good :)
package com.tmsps.ne4weixin.bean.message.send.vo;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;
@Data
@XStreamAlias("Music")
public class Music {
@XStreamAlias("Title")
private String title;
@XStreamAlias("Description")
private String description;
@XStreamAlias("MusicURL")
private String musicUrl;
// 高质量音乐链接,WIFI环境优先使用该链接播放音乐
@XStreamAlias("HQMusicUrl")
private String hQMusicUrl;
// 缩略图的媒体id,通过素材管理中的接口上传多媒体文件,得到的id
@XStreamAlias("ThumbMediaId")
private String thumbMediaId;
public Music(String title, String description, String musicUrl, String hQMusicUrl, String thumbMediaId) {
this.title = title;
this.description = description;
this.musicUrl = musicUrl;
this.hQMusicUrl = hQMusicUrl;
this.thumbMediaId = thumbMediaId;
}
}