All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.wicp.tams.cas.bean.models.SysTenant Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package net.wicp.tams.cas.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.PageElement;
import net.wicp.tams.common.constant.dic.YesOrNo;

/**
 *
 * This class was generated by MyBatis Generator. This class corresponds to the
 * database table sys_tenant
 */
@TamsBean(title = "租户管理", url = "/cas/TenantManager")
public class SysTenant {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the
	 * database column sys_tenant.id
	 * 
	 * 
	 */
	private Long id;
	/**
	 * Database Column Remarks: 租户编码 This field was generated by MyBatis Generator.
	 * This field corresponds to the database column sys_tenant.code
	 * 
	 * 
	 */
	@TamsCol(value = "租户代码", save = 1, query = 0, showWidth = 100)
	private String code;
	/**
	 * Database Column Remarks: 租户名 This field was generated by MyBatis Generator.
	 * This field corresponds to the database column sys_tenant.name
	 * 
	 * 
	 */
	@TamsCol(value = "租户名", save = 1, query = 1, showWidth = 100)
	private String name;
	/**
	 * Database Column Remarks: 创建时间 This field was generated by MyBatis Generator.
	 * This field corresponds to the database column sys_tenant.create_name
	 * 
	 * 
	 */
	private String createName;
	/**
	 * Database Column Remarks: 租户状态 This field was generated by MyBatis Generator.
	 * This field corresponds to the database column sys_tenant.status
	 * 
	 * 
	 */
	@TamsCol(value = "租户状态", pageElement = PageElement.ComboBox, pageElementOpt = "'enumclass':'net.wicp.tams.common.constant.dic.YesOrNo'", save = 1, query = 1, showWidth = 100)
	private String status;
	/**
	 * Database Column Remarks: 状态改变时间 This field was generated by MyBatis
	 * Generator. This field corresponds to the database column
	 * sys_tenant.status_time
	 * 
	 * 
	 */
	private Date statusTime;
	/**
	 * Database Column Remarks: 操作原因 This field was generated by MyBatis Generator.
	 * This field corresponds to the database column sys_tenant.operate_reason
	 * 
	 * 
	 */
	private String operateReason;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to
	 * the database table sys_tenant
	 * 
	 * 
	 */
	public SysTenant(Long id, String code, String name, String createName, String status, Date statusTime,
			String operateReason) {
		this.id = id;
		this.code = code;
		this.name = name;
		this.createName = createName;
		this.status = status;
		this.statusTime = statusTime;
		this.operateReason = operateReason;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to
	 * the database table sys_tenant
	 * 
	 * 
	 */
	public SysTenant() {
		super();
	}

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

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column sys_tenant.code
	 * 
	 * @return the value of sys_tenant.code
	 * 
	 */
	public String getCode() {
		return code;
	}

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

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

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column sys_tenant.create_name
	 * 
	 * @return the value of sys_tenant.create_name
	 * 
	 */
	public String getCreateName() {
		return createName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column sys_tenant.create_name
	 * 
	 * @param createName the value for sys_tenant.create_name
	 * 
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column sys_tenant.status
	 * 
	 * @return the value of sys_tenant.status
	 * 
	 */
	public String getStatus() {
		return status;
	}

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

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column sys_tenant.status_time
	 * 
	 * @return the value of sys_tenant.status_time
	 * 
	 */
	public Date getStatusTime() {
		return statusTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column sys_tenant.status_time
	 * 
	 * @param statusTime the value for sys_tenant.status_time
	 * 
	 */
	public void setStatusTime(Date statusTime) {
		this.statusTime = statusTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value
	 * of the database column sys_tenant.operate_reason
	 * 
	 * @return the value of sys_tenant.operate_reason
	 * 
	 */
	public String getOperateReason() {
		return operateReason;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of
	 * the database column sys_tenant.operate_reason
	 * 
	 * @param operateReason the value for sys_tenant.operate_reason
	 * 
	 */
	public void setOperateReason(String operateReason) {
		this.operateReason = operateReason;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy