@@ -33,6 +33,8 @@ public class ContentValue implements Serializable { | |||||
private List<ContentValue.Child> children; | private List<ContentValue.Child> children; | ||||
private Attendance attendance; | |||||
@Data | @Data | ||||
public static class Date implements Serializable { | public static class Date implements Serializable { | ||||
private static final long serialVersionUID = -6181554080062231138L; | private static final long serialVersionUID = -6181554080062231138L; | ||||
@@ -91,4 +93,27 @@ public class ContentValue implements Serializable { | |||||
private List<Content> list; | private List<Content> list; | ||||
} | } | ||||
@Data | |||||
public static class Attendance implements Serializable { | |||||
private static final long serialVersionUID = -6627566040706594166L; | |||||
@SerializedName("date_range") | |||||
private DataRange dateRange; | |||||
private Integer type; | |||||
@Data | |||||
public static class DataRange implements Serializable { | |||||
private static final long serialVersionUID = -3411836592583718255L; | |||||
private String type; | |||||
@SerializedName("new_begin") | |||||
private Long begin; | |||||
@SerializedName("new_end") | |||||
private Long end; | |||||
@SerializedName("new_duration") | |||||
private Long duration; | |||||
} | |||||
} | |||||
} | } |
@@ -1,11 +1,14 @@ | |||||
package me.chanjar.weixin.cp.bean.oa.templatedata; | package me.chanjar.weixin.cp.bean.oa.templatedata; | ||||
import lombok.Data; | |||||
import java.io.Serializable; | import java.io.Serializable; | ||||
import java.util.List; | import java.util.List; | ||||
/** | /** | ||||
* @author gyv123@163.com | * @author gyv123@163.com | ||||
*/ | */ | ||||
@Data | |||||
public class TemplateOptions implements Serializable { | public class TemplateOptions implements Serializable { | ||||
private static final long serialVersionUID = -7883792668568772078L; | private static final long serialVersionUID = -7883792668568772078L; | ||||
@@ -1,17 +1,15 @@ | |||||
package me.chanjar.weixin.cp.bean.oa.templatedata; | package me.chanjar.weixin.cp.bean.oa.templatedata; | ||||
import com.google.gson.JsonObject; | |||||
import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
import me.chanjar.weixin.cp.bean.oa.WxCpTemplateResult; | |||||
import me.chanjar.weixin.cp.bean.oa.templatedata.control.TemplateContact; | |||||
import lombok.Data; | |||||
import java.io.Serializable; | import java.io.Serializable; | ||||
import java.util.List; | import java.util.List; | ||||
import java.util.Map; | |||||
/** | /** | ||||
* @author gyv12345@163.com | * @author gyv12345@163.com | ||||
*/ | */ | ||||
@Data | |||||
public class TemplateProperty implements Serializable { | public class TemplateProperty implements Serializable { | ||||
private static final long serialVersionUID = -3429251158540167453L; | private static final long serialVersionUID = -3429251158540167453L; | ||||