/**
 *@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="AtvBoardCard")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_board_card",comment="",pk_constraint="PRIMARY")
public class AtvBoardCard implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5728686275696723253L;
/*---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: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: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="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:DATETIME
	 */
	@Schema(name="testTime",description="测试时间",nullable=true)
	@Column(name="test_time",comment="测试时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime testTime;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="workingHours",description="工作时长",nullable=true)
	@Column(name="working_hours",comment="工作时长",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer workingHours;
	
	/**
	 * 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="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;
	
	/** default constructor */
	public AtvBoardCard() {
	}
	
	/** pk constructor */
	public AtvBoardCard(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
