Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / PlcSiteInfoEntity.java
package com.newfiber.api.pc.model.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.newfiber.api.core.base.BaseDomain;
import com.newfiber.api.pc.model.monitor.Sl6512014;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author : zhangjun
 * @Project_name:newfiber_haimian_cihu
 * @date:2020/4/23 17:26
 * @email:505724729@qq.com
 * @description:{todo}
 * @Exception: throw {todo}
 */
@Data
@TableName("plc_site_info")
public class PlcSiteInfoEntity extends BaseDomain {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using= ToStringSerializer.class)
    @TableId(type = IdType.ID_WORKER)
    private Long id;
    /** 站点编号 */
    @ApiModelProperty(value = "站点编号")
    private String stCode;
    /** 站点名称 */
    @ApiModelProperty(value = "站点名称")
    private String stName;
    /** 视频设备编码 */
    @ApiModelProperty(value = "视频设备编码")
    private String deviceCode;
    /** 视频通道号 */
    @ApiModelProperty(value = "视频通道号")
    private Integer channelId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    /** 抽排量 */
    @ApiModelProperty(value = "抽排量")
    private Double pumpWater;

}