本文整理汇总了Java中org.hamster.weixinmp.dao.entity.item.WxItemMusicEntity类的典型用法代码示例。如果您正苦于以下问题:Java WxItemMusicEntity类的具体用法?Java WxItemMusicEntity怎么用?Java WxItemMusicEntity使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
WxItemMusicEntity类属于org.hamster.weixinmp.dao.entity.item包,在下文中一共展示了WxItemMusicEntity类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createRespMusic
import org.hamster.weixinmp.dao.entity.item.WxItemMusicEntity; //导入依赖的package包/类
public WxRespMusicEntity createRespMusic(String fromUserName,
String toUserName, Integer funcFlag, WxItemMusicEntity itemMusic) {
WxRespMusicEntity respMusic = new WxRespMusicEntity();
respMusic.setCreatedDate(new Date());
respMusic.setCreateTime(WxUtil.currentTimeInSec());
respMusic.setFromUserName(fromUserName);
respMusic.setToUserName(toUserName);
respMusic.setFuncFlag(funcFlag);
respMusic.setMsgType(WxMsgRespType.MUSIC);
// respMusic.setMusic(itemMusic);
if (respMusicDao != null) {
respMusicDao.save(respMusic);
} else {
}
return respMusic;
}
示例2: getMusic
import org.hamster.weixinmp.dao.entity.item.WxItemMusicEntity; //导入依赖的package包/类
public WxItemMusicEntity getMusic() {
return music;
}
示例3: setMusic
import org.hamster.weixinmp.dao.entity.item.WxItemMusicEntity; //导入依赖的package包/类
public void setMusic(WxItemMusicEntity music) {
this.music = music;
}
示例4: WxRespMusicEntity
import org.hamster.weixinmp.dao.entity.item.WxItemMusicEntity; //导入依赖的package包/类
public WxRespMusicEntity(WxItemMusicEntity music, WxItemThumbEntity thumb) {
super();
this.music = music;
this.thumb = thumb;
}