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

com.llsfw.webgen.model.standard.permissions.TmUserJob Maven / Gradle / Ivy

package com.llsfw.webgen.model.standard.permissions;

import java.io.Serializable;
import java.util.Date;

public class TmUserJob extends TmUserJobKey implements Serializable {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column TM_USER_JOB.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_USER_JOB.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_USER_JOB
     *
     * @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_USER_JOB.CREATE_BY
     *
     * @return the value of TM_USER_JOB.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_USER_JOB.CREATE_BY
     *
     * @param createBy the value for TM_USER_JOB.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_USER_JOB.CREATE_DATE
     *
     * @return the value of TM_USER_JOB.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_USER_JOB.CREATE_DATE
     *
     * @param createDate the value for TM_USER_JOB.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_USER_JOB
     *
     * @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;
        }
        TmUserJob other = (TmUserJob) that;
        return (this.getLoginName() == null ? other.getLoginName() == null : this.getLoginName().equals(other.getLoginName()))
            && (this.getJobCode() == null ? other.getJobCode() == null : this.getJobCode().equals(other.getJobCode()))
            && (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_USER_JOB
     *
     * @mbggenerated Tue Jan 05 13:08:26 CST 2016
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getLoginName() == null) ? 0 : getLoginName().hashCode());
        result = prime * result + ((getJobCode() == null) ? 0 : getJobCode().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy