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 io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Date; /** * 土壤墒情监测数据 实体类 * * @author admin * @since 2022-04-21 13:04:31 */ @Data @TableName("xfgd_trsq_tjhs_r") @ApiModel(value = "TrsqTjhsR对象", description = "土壤墒情监测数据")//todo 未接 public class TrsqTjhsR 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; /** * 10CM小时平均观测值 */ @ApiModelProperty(value = "10CM小时平均观测值") @TableField(value = "L010") @JSONField(name = "m10") private BigDecimal l010; /** * 40CM小时平均观测值 */ @ApiModelProperty(value = "40CM小时平均观测值") @TableField(value = "L040") @JSONField(name = "m40") private BigDecimal l040; /** * 20CM小时平均观测值 */ @ApiModelProperty(value = "20CM小时平均观测值") @TableField(value = "L020") @JSONField(name = "m20") private BigDecimal l020; /** * 1 水分,2体积,3相对,4重量 */ @ApiModelProperty(value = "1 水分,2体积,3相对,4重量") @TableField(value = "BZ") @JSONField(name = "sq_type")//todo 墒情类型???? private String bz; @Override public String getTTFileName() { return YMDHMBAK; } @Override public Date getTTDate() { return ymdhm; } }