Newer
Older
newfiber-data-adapter / src / main / java / org / springnewfiber / dataadapter / xf / entity / WrInwamntRDataDto.java
package org.springnewfiber.dataadapter.xf.entity;

import cn.hutool.core.bean.BeanUtil;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class WrInwamntRDataDto {
    @ApiModelProperty(value = "取水水量 m³")
    private BigDecimal inAccw;
    @ApiModelProperty(value = "取水瞬时流量 m³/h")
    private BigDecimal inFrq   ;
    @ApiModelProperty(value = "取水浊度  NTU")
    private BigDecimal inTurb;
    @JsonProperty(value ="tt")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "监测时间")
    private Date tm;
    @JSONField(serialize = false)
    @ApiModelProperty(value = "测站名称")
    private String wanm;
    @ApiModelProperty(value = "测站编码")
    private String wacode;

}