package com.goafanti.common.model;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;

import com.goafanti.common.constant.ErrorConstants;

public class JtVideo {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.id
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.name
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String name;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String url;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.type
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	private Integer type;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.owner
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String owner;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.create_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	private Date createTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.status
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	private Integer status;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.summary
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 512, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String summary;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.cover_url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String coverUrl;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.release_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	private Date releaseTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.transcoding
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Max(value = 2, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	private Integer transcoding;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.md5
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	@Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
			+ "}")
	private String md5;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.position
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	private Integer position;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.id
	 * @return  the value of jt_video.id
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.id
	 * @param id  the value for jt_video.id
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.name
	 * @return  the value of jt_video.name
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.name
	 * @param name  the value for jt_video.name
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.url
	 * @return  the value of jt_video.url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.url
	 * @param url  the value for jt_video.url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.type
	 * @return  the value of jt_video.type
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.type
	 * @param type  the value for jt_video.type
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.owner
	 * @return  the value of jt_video.owner
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getOwner() {
		return owner;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.owner
	 * @param owner  the value for jt_video.owner
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.create_time
	 * @return  the value of jt_video.create_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.create_time
	 * @param createTime  the value for jt_video.create_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.status
	 * @return  the value of jt_video.status
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.status
	 * @param status  the value for jt_video.status
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.summary
	 * @return  the value of jt_video.summary
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getSummary() {
		return summary;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.summary
	 * @param summary  the value for jt_video.summary
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.cover_url
	 * @return  the value of jt_video.cover_url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getCoverUrl() {
		return coverUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.cover_url
	 * @param coverUrl  the value for jt_video.cover_url
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.release_time
	 * @return  the value of jt_video.release_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Date getReleaseTime() {
		return releaseTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.release_time
	 * @param releaseTime  the value for jt_video.release_time
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.transcoding
	 * @return  the value of jt_video.transcoding
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Integer getTranscoding() {
		return transcoding;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.transcoding
	 * @param transcoding  the value for jt_video.transcoding
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setTranscoding(Integer transcoding) {
		this.transcoding = transcoding;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.md5
	 * @return  the value of jt_video.md5
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public String getMd5() {
		return md5;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.md5
	 * @param md5  the value for jt_video.md5
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setMd5(String md5) {
		this.md5 = md5;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.position
	 * @return  the value of jt_video.position
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public Integer getPosition() {
		return position;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.position
	 * @param position  the value for jt_video.position
	 * @mbggenerated  Fri Nov 02 16:14:39 CST 2018
	 */
	public void setPosition(Integer position) {
		this.position = position;
	}
}