package net.wicp.tams.app.duckula.controller.bean.models;

import java.util.Date;

import net.wicp.tams.common.annotation.TamsBean;
import net.wicp.tams.common.annotation.TamsCol;
import net.wicp.tams.common.constant.dic.YesOrNo;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table devops_flink
 */
@TamsBean(title = "flink运维配置")
public class DevopsFlink {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.id
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * Database Column Remarks: 客户名 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.name
	 * @mbg.generated
	 */
	@TamsCol(value = "租户名", save = 1, query = 1, showWidth = 100, orderby = 1)
	private String name;
	/**
	 * Database Column Remarks: 集群 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.cluster
	 * @mbg.generated
	 */
	@TamsCol(value = "集群名", save = 1, query = 1, showWidth = 100, orderby = 2)
	private String cluster;
	/**
	 * Database Column Remarks: ip1地址 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.ip
	 * @mbg.generated
	 */
	@TamsCol(value = "IP地址", save = 1, query = 1, showWidth = 150, orderby = 3)
	private String ip;
	/**
	 * Database Column Remarks: 主机名，系统生成 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.hostname
	 * @mbg.generated
	 */
	@TamsCol(value = "主机名", save = -1, query = -1, showWidth = 150)
	private String hostname;
	/**
	 * Database Column Remarks: root用户名 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.root_user
	 * @mbg.generated
	 */
	@TamsCol(value = "root用户", save = 1, query = -1, orderby = 5)
	private String rootUser;
	/**
	 * Database Column Remarks: root密码 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.root_pwd
	 * @mbg.generated
	 */
	@TamsCol(value = "root密码", save = 1, query = -1, orderby = 6)
	private String rootPwd;
	/**
	 * Database Column Remarks: 是否需要做免密 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.need_free
	 * @mbg.generated
	 */
	@TamsCol(value = "需要免密", save = 1, query = 0, enumClass = YesOrNo.class, showWidth = 100, orderby = 4)
	private String needFree;
	/**
	 * Database Column Remarks: 是否初始化，yes:已初始化  no:未初始化 创建duckula用户，创建环境变量创建目录 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.is_init
	 * @mbg.generated
	 */
	@TamsCol(value = "初始化", save = -1, query = 0, enumClass = YesOrNo.class, showWidth = 100, orderby = 7)
	private String isInit;
	/**
	 * Database Column Remarks: 是否免密 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.is_free
	 * @mbg.generated
	 */
	@TamsCol(value = "免密", save = -1, query = 0, enumClass = YesOrNo.class, showWidth = 100, orderby = 8)
	private String isFree;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.create_time
	 * @mbg.generated
	 */
	private Date createTime;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator. This field corresponds to the database column devops_flink.update_time
	 * @mbg.generated
	 */
	private Date updateTime;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table devops_flink
	 * @mbg.generated
	 */
	public DevopsFlink(Long id, String name, String cluster, String ip, String hostname, String rootUser,
			String rootPwd, String needFree, String isInit, String isFree, Date createTime, Date updateTime) {
		this.id = id;
		this.name = name;
		this.cluster = cluster;
		this.ip = ip;
		this.hostname = hostname;
		this.rootUser = rootUser;
		this.rootPwd = rootPwd;
		this.needFree = needFree;
		this.isInit = isInit;
		this.isFree = isFree;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table devops_flink
	 * @mbg.generated
	 */
	public DevopsFlink() {
		super();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.id
	 * @return  the value of devops_flink.id
	 * @mbg.generated
	 */
	public Long getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.id
	 * @param id  the value for devops_flink.id
	 * @mbg.generated
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.name
	 * @return  the value of devops_flink.name
	 * @mbg.generated
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.name
	 * @param name  the value for devops_flink.name
	 * @mbg.generated
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.cluster
	 * @return  the value of devops_flink.cluster
	 * @mbg.generated
	 */
	public String getCluster() {
		return cluster;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.cluster
	 * @param cluster  the value for devops_flink.cluster
	 * @mbg.generated
	 */
	public void setCluster(String cluster) {
		this.cluster = cluster;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.ip
	 * @return  the value of devops_flink.ip
	 * @mbg.generated
	 */
	public String getIp() {
		return ip;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.ip
	 * @param ip  the value for devops_flink.ip
	 * @mbg.generated
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.hostname
	 * @return  the value of devops_flink.hostname
	 * @mbg.generated
	 */
	public String getHostname() {
		return hostname;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.hostname
	 * @param hostname  the value for devops_flink.hostname
	 * @mbg.generated
	 */
	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.root_user
	 * @return  the value of devops_flink.root_user
	 * @mbg.generated
	 */
	public String getRootUser() {
		return rootUser;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.root_user
	 * @param rootUser  the value for devops_flink.root_user
	 * @mbg.generated
	 */
	public void setRootUser(String rootUser) {
		this.rootUser = rootUser;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.root_pwd
	 * @return  the value of devops_flink.root_pwd
	 * @mbg.generated
	 */
	public String getRootPwd() {
		return rootPwd;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.root_pwd
	 * @param rootPwd  the value for devops_flink.root_pwd
	 * @mbg.generated
	 */
	public void setRootPwd(String rootPwd) {
		this.rootPwd = rootPwd;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.need_free
	 * @return  the value of devops_flink.need_free
	 * @mbg.generated
	 */
	public String getNeedFree() {
		return needFree;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.need_free
	 * @param needFree  the value for devops_flink.need_free
	 * @mbg.generated
	 */
	public void setNeedFree(String needFree) {
		this.needFree = needFree;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.is_init
	 * @return  the value of devops_flink.is_init
	 * @mbg.generated
	 */
	public String getIsInit() {
		return isInit;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.is_init
	 * @param isInit  the value for devops_flink.is_init
	 * @mbg.generated
	 */
	public void setIsInit(String isInit) {
		this.isInit = isInit;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.is_free
	 * @return  the value of devops_flink.is_free
	 * @mbg.generated
	 */
	public String getIsFree() {
		return isFree;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.is_free
	 * @param isFree  the value for devops_flink.is_free
	 * @mbg.generated
	 */
	public void setIsFree(String isFree) {
		this.isFree = isFree;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.create_time
	 * @return  the value of devops_flink.create_time
	 * @mbg.generated
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.create_time
	 * @param createTime  the value for devops_flink.create_time
	 * @mbg.generated
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_flink.update_time
	 * @return  the value of devops_flink.update_time
	 * @mbg.generated
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column devops_flink.update_time
	 * @param updateTime  the value for devops_flink.update_time
	 * @mbg.generated
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}