mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	🎨 代码优化
This commit is contained in:
		| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.Getter; | ||||
| import lombok.Setter; | ||||
| import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||||
| @ -14,8 +15,8 @@ import java.util.List; | ||||
|  * @author huangxiaoming | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpTpAdmin extends WxCpBaseResp { | ||||
|  | ||||
|   private static final long serialVersionUID = -5028321625140879571L; | ||||
|  | ||||
|   @SerializedName("admin") | ||||
|  | ||||
| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  | ||||
| /** | ||||
| @ -9,8 +10,8 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @author huangxiaoming | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpTpUserDetail extends WxCpBaseResp { | ||||
|  | ||||
|   private static final long serialVersionUID = -5028321625140879571L; | ||||
|   /** | ||||
|    * 用户所属企业的corpid | ||||
|  | ||||
| @ -2,12 +2,15 @@ package me.chanjar.weixin.cp.bean; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  | ||||
| /** | ||||
|  * @author huangxiaoming | ||||
|  */ | ||||
|  | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpTpUserInfo extends WxCpBaseResp { | ||||
|  | ||||
|   private static final long serialVersionUID = -5028321625140879571L; | ||||
|  | ||||
| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  | ||||
| @ -12,7 +13,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpAddMomentResult extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = -7212260280504857210L; | ||||
|  | ||||
|   @SerializedName("jobid") | ||||
|   private String jobId; | ||||
|  | ||||
| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  | ||||
| @ -9,7 +10,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * 「联系我」方式 处理结果 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpContactWayResult extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = -2612867517869192015L; | ||||
|   @SerializedName("config_id") | ||||
|   private String configId; | ||||
|  | ||||
|  | ||||
| @ -3,6 +3,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.Getter; | ||||
| import lombok.Setter; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| @ -15,7 +16,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentComments extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = -9056664072546234965L; | ||||
|   @SerializedName("comment_list") | ||||
|   private List<CommentLikeItem> commentList; | ||||
|   @SerializedName("like_list") | ||||
|  | ||||
| @ -1,12 +1,14 @@ | ||||
| package me.chanjar.weixin.cp.bean.external; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| import me.chanjar.weixin.cp.bean.external.moment.CustomerItem; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  | ||||
| import java.util.List; | ||||
|  | ||||
| /** | ||||
|  * 企业发表内容到客户的朋友圈 获取客户朋友圈发表时选择的可见范围 | ||||
|  * | ||||
| @ -14,7 +16,10 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentCustomerList extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = -8792120670063917097L; | ||||
|  | ||||
|   @SerializedName("next_cursor") | ||||
|   private String nextCursor; | ||||
|   @SerializedName("customer_list") | ||||
|  | ||||
| @ -3,6 +3,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| import me.chanjar.weixin.cp.bean.external.moment.MomentInfo; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
| @ -14,7 +15,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentList extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = 106159971765109008L; | ||||
|   @SerializedName("next_cursor") | ||||
|   private String nextCursor; | ||||
|   @SerializedName("moment_list") | ||||
|  | ||||
| @ -3,6 +3,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| import me.chanjar.weixin.cp.bean.external.moment.CustomerItem; | ||||
| import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
| @ -14,7 +15,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentSendResult extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = -5782811995184523379L; | ||||
|   @SerializedName("next_cursor") | ||||
|   private String nextCursor; | ||||
|   @SerializedName("customer_list") | ||||
|  | ||||
| @ -3,6 +3,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.Getter; | ||||
| import lombok.Setter; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| @ -15,7 +16,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentTask extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = 5621905029624794129L; | ||||
|   @SerializedName("next_cursor") | ||||
|   private String nextCursor; | ||||
|  | ||||
|  | ||||
| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean.external; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.Getter; | ||||
| import lombok.Setter; | ||||
| import me.chanjar.weixin.cp.bean.WxCpBaseResp; | ||||
| @ -16,7 +17,9 @@ import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||||
|  * @date 2021-10-29 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpGetMomentTaskResult extends WxCpBaseResp { | ||||
|   private static final long serialVersionUID = 2515140928288915077L; | ||||
|   private Integer status; | ||||
|   private String type; | ||||
|   private TaskResult result; | ||||
|  | ||||
| @ -2,6 +2,7 @@ package me.chanjar.weixin.cp.bean.oa; | ||||
|  | ||||
| import com.google.gson.annotations.SerializedName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
|  | ||||
| import java.io.Serializable; | ||||
|  | ||||
| @ -10,6 +11,7 @@ import java.io.Serializable; | ||||
|  * @author element | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| public class WxCpApprovalApplier extends WxCpOperator implements Serializable { | ||||
|  | ||||
|   private static final long serialVersionUID = -8974662568286821271L; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang