/**
 *@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="AtvBroadcast")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_broadcast",comment="",pk_constraint="PRIMARY")
public class AtvBroadcast implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6861396031445345755L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="id",description="主键",nullable=false)
	@Id(strategy="identity")
	@Column(name="id",comment="主键",length=10L,type=java.sql.Types.INTEGER,nullable=false,autoIncrement=true)
	private Integer 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="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="broadText",description="广播内容(文字)",nullable=true)
	@Column(name="broad_text",comment="广播内容(文字)",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String broadText;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="broadType",description="广播类别",nullable=true)
	@Column(name="broad_type",comment="广播类别",length=10L,defaultValue="1",type=java.sql.Types.INTEGER,nullable=true)
	private Integer broadType;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="broadNum",description="广播次数",nullable=true)
	@Column(name="broad_num",comment="广播次数",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer broadNum;
	
	/**
	 * jdbcType:CHAR
	 */
	@Schema(name="status",description="状态",nullable=true)
	@Column(name="status",comment="状态",length=1L,defaultValue="0",type=java.sql.Types.CHAR,nullable=true)
	private String status;
	
	/** default constructor */
	public AtvBroadcast() {
	}
	
	/** pk constructor */
	public AtvBroadcast(Integer id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
