package me.zhengjie.modules.weixin.cp.bean.smartsheet.field;
|
|
import com.google.gson.annotations.SerializedName;
|
import lombok.Data;
|
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
|
|
import java.io.Serializable;
|
|
@Data
|
public class WwGroupFieldProperty implements Serializable {
|
|
private static final long serialVersionUID = 4887589375831032032L;
|
|
/**
|
* 是否允许多个群聊
|
*/
|
@SerializedName("allow_multiple")
|
private Boolean allow_multiple;
|
|
public static WwGroupFieldProperty fromJson(String json) {
|
return WxCpGsonBuilder.create().fromJson(json, WwGroupFieldProperty.class);
|
}
|
|
public String toJson() {
|
return WxCpGsonBuilder.create().toJson(this);
|
}
|
}
|