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

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 水质监测数据 实体类
 * @since 2022-04-21 13:04:31
 * @author admin
 */
@Data
@TableName("xfgd_sz_gssyd")
@ApiModel(value = "SzGssyd对象", description = "水质监测数据")
public class SzGssyd extends BaseSwjEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 监测时间
	 */
	@ApiModelProperty(value = "监测时间")
	@TableField(value = "YMDHM")
	@JSONField(name="tt",format = "yyyy-MM-dd HH:mm:ss")
	private Date ymdhm;
    
	/**
	 * 挥发酚mg/L
	 */
	@ApiModelProperty(value = "挥发酚mg/L")
	@TableField(value = "HFF")
	@JSONField(name="hff")//todo 系统没有
	private BigDecimal hff;
    
	/**
	 * 水温℃
	 */
	@ApiModelProperty(value = "水温℃")
	@TableField(value = "SW")
	@JSONField(name="c")
	private BigDecimal sw;
    
	/**
	 * 高锰酸盐指数mg/L
	 */
	@ApiModelProperty(value = "高锰酸盐指数mg/L")
	@TableField(value = "GMSY")
	@JSONField(name="gmsy")//todo 系统没有
	private BigDecimal gmsy;
    
	/**
	 * 总磷(mg/L)
	 */
	@ApiModelProperty(value = "总磷(mg/L)")
	@TableField(value = "ZL")
	@JSONField(name="tp")
	private BigDecimal zl;
    
	/**
	 * 总氮(mg/L)
	 */
	@ApiModelProperty(value = "总氮(mg/L)")
	@TableField(value = "ZA")
	@JSONField(name="tn")
	private BigDecimal za;
    
	/**
	 * 溶解氧mg/L
	 */
	@ApiModelProperty(value = "溶解氧mg/L")
	@TableField(value = "RJY")
	@JSONField(name="do")
	private BigDecimal rjy;
    
	/**
	 * 浊度
	 */
	@ApiModelProperty(value = "浊度")
	@TableField(value = "ZD")
	@JSONField(name="turb")
	private BigDecimal zd;
    
	/**
	 * 电导率μS/cm
	 */
	@ApiModelProperty(value = "电导率μS/cm")
	@TableField(value = "DDL")
	@JSONField(name="cond")
	private BigDecimal ddl;
    
	/**
	 * PH值
	 */
	@ApiModelProperty(value = "PH值")
	@TableField(value = "PH")
	@JSONField(name="ph")
	private BigDecimal ph;
    
	/**
	 * 氨氮mg/L
	 */
	@ApiModelProperty(value = "氨氮mg/L")
	@TableField(value = "AD")
	@JSONField(name="nh4n")
	private BigDecimal ad;

	@Override
	public String getTTFileName() {
		return YMDHMBAK;
	}

	@Override
	public Date getTTDate() {
		return ymdhm;
	}
}