/**
 *@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="AtvBoardCardFault")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_board_card_fault",comment="",pk_constraint="PRIMARY")
public class AtvBoardCardFault implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3531647671969288859L;
/*---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="sn",description="故障编号",nullable=true)
	@Column(name="sn",comment="故障编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String sn;
	
	/**
	 * 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="address",description="故障位置",nullable=true)
	@Column(name="address",comment="故障位置",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String address;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="phenomenon",description="故障现象",nullable=true)
	@Column(name="phenomenon",comment="故障现象",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String phenomenon;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="handleMode",description="处理措施",nullable=true)
	@Column(name="handle_mode",comment="处理措施",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String handleMode;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="handleOutcome",description="处理结果",nullable=true)
	@Column(name="handle_outcome",comment="处理结果",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String handleOutcome;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="faultStatus",description="故障状态(1)",nullable=true)
	@Column(name="fault_status",comment="故障状态(1)",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer faultStatus;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="isRead",description="是否已读",nullable=true)
	@Column(name="is_read",comment="是否已读",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer isRead;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="submitUserName",description="报修人名",nullable=true)
	@Column(name="submit_user_name",comment="报修人名",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String submitUserName;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="workerUserId",description="处理人",nullable=true)
	@Column(name="worker_user_id",comment="处理人",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String workerUserId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="submitUserId",description="报修人",nullable=true)
	@Column(name="submit_user_id",comment="报修人",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String submitUserId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="workerUserName",description="处理人名",nullable=true)
	@Column(name="worker_user_name",comment="处理人名",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String workerUserName;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="isSend",description="是否主管派单",nullable=true)
	@Column(name="is_send",comment="是否主管派单",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer isSend;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="faultSource",description="故障来源(1人工上报2平台智能检测；其他设备自检3)",nullable=true)
	@Column(name="fault_source",comment="故障来源(1人工上报2平台智能检测；其他设备自检3)",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer faultSource;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="finishTime",description="完成时间",nullable=true)
	@Column(name="finish_time",comment="完成时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime finishTime;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="isFinish",description="是否完成",nullable=true)
	@Column(name="is_finish",comment="是否完成",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer isFinish;
	
	/** default constructor */
	public AtvBoardCardFault() {
	}
	
	/** pk constructor */
	public AtvBoardCardFault(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
