|
| 1 | +package me.chanjar.weixin.channel.bean.after; |
| 2 | + |
| 3 | +import com.fasterxml.jackson.annotation.JsonInclude; |
| 4 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 5 | +import java.io.Serializable; |
| 6 | +import java.util.List; |
| 7 | +import lombok.Data; |
| 8 | + |
| 9 | +@Data |
| 10 | +@JsonInclude(JsonInclude.Include.NON_NULL) |
| 11 | +public class SyncWorkOrderParam implements Serializable { |
| 12 | + private static final long serialVersionUID = -7336088606071452113L; |
| 13 | + |
| 14 | + @JsonProperty("complaint_id") |
| 15 | + private String complaintId; |
| 16 | + |
| 17 | + @JsonProperty("work_order_info") |
| 18 | + private WorkOrderInfo workOrderInfo; |
| 19 | + |
| 20 | + @Data |
| 21 | + @JsonInclude(JsonInclude.Include.NON_NULL) |
| 22 | + public static class WorkOrderInfo implements Serializable { |
| 23 | + private static final long serialVersionUID = 8573016851280130766L; |
| 24 | + |
| 25 | + @JsonProperty("version") |
| 26 | + private Integer version; |
| 27 | + |
| 28 | + @JsonProperty("items") |
| 29 | + private List<WorkOrderItem> items; |
| 30 | + |
| 31 | + @JsonProperty("work_order_id") |
| 32 | + private String workOrderId; |
| 33 | + } |
| 34 | + |
| 35 | + @Data |
| 36 | + @JsonInclude(JsonInclude.Include.NON_NULL) |
| 37 | + public static class WorkOrderItem implements Serializable { |
| 38 | + private static final long serialVersionUID = 6925580701152256736L; |
| 39 | + |
| 40 | + @JsonProperty("status") |
| 41 | + private Integer status; |
| 42 | + |
| 43 | + @JsonProperty("desc") |
| 44 | + private String desc; |
| 45 | + |
| 46 | + @JsonProperty("update_time") |
| 47 | + private Long updateTime; |
| 48 | + |
| 49 | + @JsonProperty("result_type") |
| 50 | + private Integer resultType; |
| 51 | + |
| 52 | + @JsonProperty("refund_amount") |
| 53 | + private Integer refundAmount; |
| 54 | + |
| 55 | + @JsonProperty("media_list") |
| 56 | + private List<WorkOrderMedia> mediaList; |
| 57 | + } |
| 58 | + |
| 59 | + @Data |
| 60 | + @JsonInclude(JsonInclude.Include.NON_NULL) |
| 61 | + public static class WorkOrderMedia implements Serializable { |
| 62 | + private static final long serialVersionUID = 2258990333977395631L; |
| 63 | + |
| 64 | + @JsonProperty("type") |
| 65 | + private Integer type; |
| 66 | + |
| 67 | + @JsonProperty("picture") |
| 68 | + private WorkOrderPicture picture; |
| 69 | + } |
| 70 | + |
| 71 | + @Data |
| 72 | + @JsonInclude(JsonInclude.Include.NON_NULL) |
| 73 | + public static class WorkOrderPicture implements Serializable { |
| 74 | + private static final long serialVersionUID = -3339842364541603289L; |
| 75 | + |
| 76 | + @JsonProperty("tmp_media_id") |
| 77 | + private String tmpMediaId; |
| 78 | + } |
| 79 | +} |
0 commit comments