com.blr19c.common.wxCp.model.msg.File Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
The blr19c-common library contains utility classes, Map/Stream implementation, sending enterprise
WeChat, IP/ip address acquisition, mybatis-plus separation implementation, and so on.
package com.blr19c.common.wxCp.model.msg;
import com.blr19c.common.collection.PictogramMap;
import java.util.Map;
/**
* 文件消息
*
* @author blr
*/
public class File implements Msg, Escape {
private String mediaId;
public File(String mediaId) {
this.mediaId = mediaId;
}
public File() {
}
@Override
public Map toMap() {
return PictogramMap.getInstance().putValueNonNull("media_id", mediaId).getMap();
}
public String getMediaId() {
return mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy