| package com.dy.pipIrrGlobal.voRm; | 
|   | 
| import com.dy.common.po.BaseEntity; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
| import lombok.Data; | 
| import org.springframework.format.annotation.DateTimeFormat; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-10-24 15:36 | 
|  * @LastEditTime 2024-10-24 15:36 | 
|  * @Description 开关阀视图对象_微信小程序使用 | 
|  */ | 
|   | 
| @Data | 
| @JsonPropertyOrder({"expense", "cardNum", "intakeNum", "openTime", "closeTime", "duration", "amount", "openType"}) | 
| public class VoOpenClostWechat implements BaseEntity { | 
|     private static final long serialVersionUID = 202410241538001L; | 
|   | 
|     /** | 
|      * 消费金额 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double expense; | 
|   | 
|     /** | 
|      * 水卡编号 | 
|      */ | 
|     private String cardNum; | 
|   | 
|     /** | 
|      * 取水口编号 | 
|      */ | 
|     private String intakeNum; | 
|   | 
|     /** | 
|      * 开阀时间 | 
|      */ | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     private Date openTime; | 
|   | 
|     /** | 
|      * 关阀时间 | 
|      */ | 
|     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|     private Date closeTime; | 
|   | 
|     /** | 
|      * 用水时长 | 
|      */ | 
|     private Integer duration; | 
|   | 
|     /** | 
|      * 用水量 | 
|      */ | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double amount; | 
|   | 
|     /** | 
|      * 开阀类型 | 
|      */ | 
|     private String openType; | 
| } |