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

import java.util.Date;

import net.wicp.tams.app.duckula.controller.bean.constant.DorisRole;
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_doris
 */
@TamsBean(title = "doris运维配置")
public class DevopsDoris {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.id
	 * @mbg.generated
	 */
	private Long id;
	/**
	 * Database Column Remarks: 客户名 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.name
	 * @mbg.generated
	 */
	@TamsCol(value = "租户名", save = 1, query = 1, showWidth = 100)
	private String name;
	/**
	 * Database Column Remarks: ip1地址 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.ip
	 * @mbg.generated
	 */
	@TamsCol(value = "IP地址", save = 1, query = 1, showWidth = 150)
	private String ip;
	/**
	 * Database Column Remarks: 集群 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.cluster
	 * @mbg.generated
	 */
	@TamsCol(value = "集群", save = 1, query = 0, showWidth = 150)
	private String cluster;
	/**
	 * Database Column Remarks: 服务器的角色 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.roles
	 * @mbg.generated
	 */
	@TamsCol(value = "角色", save = 1, query = -1, showWidth = 150, multiple = true, enumClass = DorisRole.class)
	private String roles;
	/**
	 * Database Column Remarks: 存储磁盘 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.fs
	 * @mbg.generated
	 */
	@TamsCol(value = "存储磁盘", save = 1, query = -1, showWidth = 150)
	private String fs;
	/**
	 * Database Column Remarks: root密码 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.root_pwd
	 * @mbg.generated
	 */
	@TamsCol(value = "root密码", save = 1, query = -1)
	private String rootPwd;
	/**
	 * Database Column Remarks: 是否初始化，yes:已初始化  no:未初始化 创建duckula用户，创建环境变量创建目录 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.is_init
	 * @mbg.generated
	 */
	@TamsCol(value = "初始化", save = 1, query = 0, enumClass = YesOrNo.class, showWidth = 100)
	private String isInit;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator. This field corresponds to the database column devops_doris.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_doris.update_time
	 * @mbg.generated
	 */
	private Date updateTime;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table devops_doris
	 * @mbg.generated
	 */
	public DevopsDoris(Long id, String name, String ip, String cluster, String roles, String fs, String rootPwd,
			String isInit, Date createTime, Date updateTime) {
		this.id = id;
		this.name = name;
		this.ip = ip;
		this.cluster = cluster;
		this.roles = roles;
		this.fs = fs;
		this.rootPwd = rootPwd;
		this.isInit = isInit;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_doris.id
	 * @return  the value of devops_doris.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_doris.id
	 * @param id  the value for devops_doris.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_doris.name
	 * @return  the value of devops_doris.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_doris.name
	 * @param name  the value for devops_doris.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_doris.ip
	 * @return  the value of devops_doris.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_doris.ip
	 * @param ip  the value for devops_doris.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_doris.cluster
	 * @return  the value of devops_doris.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_doris.cluster
	 * @param cluster  the value for devops_doris.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_doris.roles
	 * @return  the value of devops_doris.roles
	 * @mbg.generated
	 */
	public String getRoles() {
		return roles;
	}

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

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

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column devops_doris.root_pwd
	 * @return  the value of devops_doris.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_doris.root_pwd
	 * @param rootPwd  the value for devops_doris.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_doris.is_init
	 * @return  the value of devops_doris.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_doris.is_init
	 * @param isInit  the value for devops_doris.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_doris.create_time
	 * @return  the value of devops_doris.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_doris.create_time
	 * @param createTime  the value for devops_doris.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_doris.update_time
	 * @return  the value of devops_doris.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_doris.update_time
	 * @param updateTime  the value for devops_doris.update_time
	 * @mbg.generated
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}