/**
 *@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.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="AtvTrainWorkingLog")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_train_working_log",comment="",pk_constraint="PRIMARY")
public class AtvTrainWorkingLog implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7188208346669479490L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="id",description="主键",nullable=false)
	@Id(strategy="generator",generator="cn.orm.sqltoy.plugins.id.impl.NanoTimeIdGenerator")
	@Column(name="id",comment="主键",length=36L,type=java.sql.Types.VARCHAR,nullable=false)
	private String 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: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="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="boardCardId",description="板卡",nullable=true)
	@Column(name="board_card_id",comment="板卡",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String boardCardId;
	
	/**
	 * 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:INT
	 */
	@Schema(name="can1",description="CAN1",nullable=true)
	@Column(name="can1",comment="CAN1",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer can1;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="can2",description="CAN2",nullable=true)
	@Column(name="can2",comment="CAN2",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer can2;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="rs232no1",description="RS232No1",nullable=true)
	@Column(name="rs232no1",comment="RS232No1",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer rs232no1;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="net1",description="net1",nullable=true)
	@Column(name="net1",comment="net1",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer net1;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="net2",description="net2",nullable=true)
	@Column(name="net2",comment="net2",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer net2;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel1",description="audiochannel1",nullable=true)
	@Column(name="audiochannel1",comment="audiochannel1",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel1;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel2",description="audiochannel2",nullable=true)
	@Column(name="audiochannel2",comment="audiochannel2",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel2;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel3",description="audiochannel3",nullable=true)
	@Column(name="audiochannel3",comment="audiochannel3",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel3;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel4",description="audiochannel4",nullable=true)
	@Column(name="audiochannel4",comment="audiochannel4",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel4;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel5",description="audiochannel5",nullable=true)
	@Column(name="audiochannel5",comment="audiochannel5",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel5;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel6",description="audiochannel6",nullable=true)
	@Column(name="audiochannel6",comment="audiochannel6",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel6;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel7",description="audiochannel7",nullable=true)
	@Column(name="audiochannel7",comment="audiochannel7",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel7;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="audiochannel8",description="audiochannel8",nullable=true)
	@Column(name="audiochannel8",comment="audiochannel8",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer audiochannel8;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="rs485",description="RS485",nullable=true)
	@Column(name="rs485",comment="RS485",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer rs485;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="rs232no2",description="RS232No2",nullable=true)
	@Column(name="rs232no2",comment="RS232No2",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer rs232no2;
	
	/**
	 * 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: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="paStartFlag",description="语音报站开始标志位",nullable=true)
	@Column(name="pa_start_flag",comment="语音报站开始标志位",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer paStartFlag;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="startSiteSn",description="起始站点编号",nullable=true)
	@Column(name="start_site_sn",comment="起始站点编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String startSiteSn;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="emergentPano",description="紧急广播次数",nullable=true)
	@Column(name="emergent_pano",comment="紧急广播次数",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer emergentPano;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="playState",description="播放状态",nullable=true)
	@Column(name="play_state",comment="播放状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer playState;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="sectionSn",description="区间编号",nullable=true)
	@Column(name="section_sn",comment="区间编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String sectionSn;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="alarmStatus",description="报警状态",nullable=true)
	@Column(name="alarm_status",comment="报警状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer alarmStatus;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="emergentPaid",description="紧急广播ID",nullable=true)
	@Column(name="emergent_paid",comment="紧急广播ID",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String emergentPaid;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="playFileName",description="报站文件名",nullable=true)
	@Column(name="play_file_name",comment="报站文件名",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String playFileName;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="paState",description="PA状态",nullable=true)
	@Column(name="pa_state",comment="PA状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer paState;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="version",description="版本",nullable=true)
	@Column(name="version",comment="版本",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String version;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="openDoorDirection",description="开门方向",nullable=true)
	@Column(name="open_door_direction",comment="开门方向",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer openDoorDirection;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="paModel",description="广播状态",nullable=true)
	@Column(name="pa_model",comment="广播状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer paModel;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="nowSiteSn",description="当前站点编号",nullable=true)
	@Column(name="now_site_sn",comment="当前站点编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String nowSiteSn;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="trainWorkingLogType",description="列车工作日志类型",nullable=true)
	@Column(name="train_working_log_type",comment="列车工作日志类型",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer trainWorkingLogType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="endSiteSn",description="终点站点编号",nullable=true)
	@Column(name="end_site_sn",comment="终点站点编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String endSiteSn;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="paCarms",description="工作的广播主机设备编号",nullable=true)
	@Column(name="pa_carms",comment="工作的广播主机设备编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String paCarms;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="direction",description="方向",nullable=true)
	@Column(name="direction",comment="方向",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer direction;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="onlineStatus",description="在线状态",nullable=true)
	@Column(name="online_status",comment="在线状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer onlineStatus;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="micModel",description="对讲状态",nullable=true)
	@Column(name="mic_model",comment="对讲状态",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer micModel;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="carDirection",description="列车运行方向车厢编号",nullable=true)
	@Column(name="car_direction",comment="列车运行方向车厢编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String carDirection;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="faultDescription",description="故障描述",nullable=true)
	@Column(name="fault_description",comment="故障描述",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String faultDescription;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="faultType",description="故障类型",nullable=true)
	@Column(name="fault_type",comment="故障类型",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer faultType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="faultNo",description="故障编码",nullable=true)
	@Column(name="fault_no",comment="故障编码",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String faultNo;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="boardCardNo",description="板卡序号",nullable=true)
	@Column(name="board_card_no",comment="板卡序号",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer boardCardNo;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="preSiteSn",description="预报站点",nullable=true)
	@Column(name="pre_site_sn",comment="预报站点",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String preSiteSn;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="broadcastType",description="广播类型",nullable=true)
	@Column(name="broadcast_type",comment="广播类型",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer broadcastType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="audioSn",description="报站音频编号",nullable=true)
	@Column(name="audio_sn",comment="报站音频编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String audioSn;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="preStartTime",description="报站开始时间",nullable=true)
	@Column(name="pre_start_time",comment="报站开始时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime preStartTime;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="preDuration",description="报站时长",nullable=true)
	@Column(name="pre_duration",comment="报站时长",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer preDuration;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="nextArrivalTime",description="下站达到时间",nullable=true)
	@Column(name="next_arrival_time",comment="下站达到时间",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer nextArrivalTime;
	
	/** default constructor */
	public AtvTrainWorkingLog() {
	}
	
	/** pk constructor */
	public AtvTrainWorkingLog(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
