/**
 *@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="AtvLineSite")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_line_site",comment="",pk_constraint="PRIMARY")
public class AtvLineSite implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2622061074676160808L;
/*---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="name",description="站名",nullable=true)
	@Column(name="name",comment="站名",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String name;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="inMusicSn",description="进站语音编号",nullable=true)
	@Column(name="in_music_sn",comment="进站语音编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String inMusicSn;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="outMusicSn",description="出战语音编号",nullable=true)
	@Column(name="out_music_sn",comment="出战语音编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String outMusicSn;
	
	/**
	 * 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="orders",description="排序",nullable=true)
	@Column(name="orders",comment="排序",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer orders;
	
	/**
	 * 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:INT
	 */
	@Schema(name="direction",description="方向",nullable=true)
	@Column(name="direction",comment="方向",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer direction;
	
	/** default constructor */
	public AtvLineSite() {
	}
	
	/** pk constructor */
	public AtvLineSite(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
