/**
 *@Generated by sagacity-quickvo 5.0
 */
package cn.pojo.atv;

import java.io.Serializable;
import cn.orm.sqltoy.config.annotation.Entity;
import cn.orm.sqltoy.config.annotation.Id;
import cn.orm.sqltoy.config.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="AtvBoardWarning")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_board_warning",comment="",pk_constraint="PRIMARY")
public class AtvBoardWarning implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6030335306923906786L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:BIGINT
	 */
	@Schema(name="id",description="主键id",nullable=false)
	@Id(strategy="identity")
	@Column(name="id",comment="主键id",length=19L,type=java.sql.Types.BIGINT,nullable=false,autoIncrement=true)
	private BigInteger id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="createBy",description="创建人",nullable=true)
	@Column(name="create_by",comment="创建人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String createBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="createTime",description="创建日期",nullable=true)
	@Column(name="create_time",comment="创建日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime createTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="updateBy",description="更新人",nullable=true)
	@Column(name="update_by",comment="更新人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String updateBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="updateTime",description="更新日期",nullable=true)
	@Column(name="update_time",comment="更新日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime updateTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="sysOrgCode",description="所属部门",nullable=true)
	@Column(name="sys_org_code",comment="所属部门",length=64L,type=java.sql.Types.VARCHAR,nullable=true)
	private String sysOrgCode;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="boardCardType",description="板卡类型",nullable=true)
	@Column(name="board_card_type",comment="板卡类型",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer boardCardType;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="equipmentType",description="设备类型",nullable=true)
	@Column(name="equipment_type",comment="设备类型",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer equipmentType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="itemId",description="项目",nullable=true)
	@Column(name="item_id",comment="项目",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String itemId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="countryId",description="国家",nullable=true)
	@Column(name="country_id",comment="国家",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String countryId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="areaId",description="地区/城市",nullable=true)
	@Column(name="area_id",comment="地区/城市",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String areaId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="lineId",description="线路",nullable=true)
	@Column(name="line_id",comment="线路",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String lineId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="trainId",description="列车",nullable=true)
	@Column(name="train_id",comment="列车",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String trainId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="carriageId",description="车厢",nullable=true)
	@Column(name="carriage_id",comment="车厢",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String carriageId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="boardCardId",description="板卡编号",nullable=true)
	@Column(name="board_card_id",comment="板卡编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String boardCardId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="equipmentId",description="设备",nullable=true)
	@Column(name="equipment_id",comment="设备",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String equipmentId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="edition",description="固件版本",nullable=true)
	@Column(name="edition",comment="固件版本",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String edition;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operateEdition",description="运营版本",nullable=true)
	@Column(name="operate_edition",comment="运营版本",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operateEdition;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="worktime",description="工作时长",nullable=true)
	@Column(name="worktime",comment="工作时长",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer worktime;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="voltage12",description="12V电压",nullable=true)
	@Column(name="voltage12",comment="12V电压",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double voltage12;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="voltage5",description="5V电压",nullable=true)
	@Column(name="voltage5",comment="5V电压",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double voltage5;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="voltage3v3",description="3.3V电压",nullable=true)
	@Column(name="voltage3v3",comment="3.3V电压",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double voltage3v3;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="current12",description="12V电流",nullable=true)
	@Column(name="current12",comment="12V电流",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double current12;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="current5",description="5V电流",nullable=true)
	@Column(name="current5",comment="5V电流",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double current5;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="current3v3",description="3.3V电流",nullable=true)
	@Column(name="current3v3",comment="3.3V电流",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double current3v3;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="temperature",description="温度",nullable=true)
	@Column(name="temperature",comment="温度",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double temperature;
	
	/**
	 * jdbcType:DOUBLE
	 */
	@Schema(name="volume",description="音量",nullable=true)
	@Column(name="volume",comment="音量",length=10L,type=java.sql.Types.DOUBLE,nullable=true)
	private Double volume;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="life",description="寿命",nullable=true)
	@Column(name="life",comment="寿命",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer life;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="warningContent",description="预警内容（文字版）",nullable=true)
	@Column(name="warning_content",comment="预警内容（文字版）",length=255L,type=java.sql.Types.VARCHAR,nullable=true)
	private String warningContent;
	
	/** default constructor */
	public AtvBoardWarning() {
	}
	
	/** pk constructor */
	public AtvBoardWarning(BigInteger id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
