com.llsfw.webgen.model.standard.permissions.TmPurview Maven / Gradle / Ivy
package com.llsfw.webgen.model.standard.permissions;
import java.io.Serializable;
import java.util.Date;
public class TmPurview extends TmPurviewKey implements Serializable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TM_PURVIEW.PURVIEW_NAME
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
private String purviewName;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TM_PURVIEW.CREATE_BY
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
private String createBy;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TM_PURVIEW.CREATE_DATE
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
private Date createDate;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TM_PURVIEW
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TM_PURVIEW.PURVIEW_NAME
*
* @return the value of TM_PURVIEW.PURVIEW_NAME
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public String getPurviewName() {
return purviewName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TM_PURVIEW.PURVIEW_NAME
*
* @param purviewName the value for TM_PURVIEW.PURVIEW_NAME
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public void setPurviewName(String purviewName) {
this.purviewName = purviewName;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TM_PURVIEW.CREATE_BY
*
* @return the value of TM_PURVIEW.CREATE_BY
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public String getCreateBy() {
return createBy;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TM_PURVIEW.CREATE_BY
*
* @param createBy the value for TM_PURVIEW.CREATE_BY
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TM_PURVIEW.CREATE_DATE
*
* @return the value of TM_PURVIEW.CREATE_DATE
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public Date getCreateDate() {
return createDate;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TM_PURVIEW.CREATE_DATE
*
* @param createDate the value for TM_PURVIEW.CREATE_DATE
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TM_PURVIEW
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
TmPurview other = (TmPurview) that;
return (this.getFunctionCode() == null ? other.getFunctionCode() == null : this.getFunctionCode().equals(other.getFunctionCode()))
&& (this.getPurviewCode() == null ? other.getPurviewCode() == null : this.getPurviewCode().equals(other.getPurviewCode()))
&& (this.getPurviewName() == null ? other.getPurviewName() == null : this.getPurviewName().equals(other.getPurviewName()))
&& (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
&& (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()));
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TM_PURVIEW
*
* @mbggenerated Tue Jan 05 13:08:26 CST 2016
*/
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getFunctionCode() == null) ? 0 : getFunctionCode().hashCode());
result = prime * result + ((getPurviewCode() == null) ? 0 : getPurviewCode().hashCode());
result = prime * result + ((getPurviewName() == null) ? 0 : getPurviewName().hashCode());
result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
return result;
}
}