package com.goafanti.common.model;

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

public class UserNames implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_names.id
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_names.uid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private String uid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_names.aid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private String aid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_names.name
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_names.create_time
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user_names
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_names.id
     *
     * @return the value of user_names.id
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_names.id
     *
     * @param id the value for user_names.id
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_names.uid
     *
     * @return the value of user_names.uid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public String getUid() {
        return uid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_names.uid
     *
     * @param uid the value for user_names.uid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_names.aid
     *
     * @return the value of user_names.aid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public String getAid() {
        return aid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_names.aid
     *
     * @param aid the value for user_names.aid
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public void setAid(String aid) {
        this.aid = aid == null ? null : aid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_names.name
     *
     * @return the value of user_names.name
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_names.name
     *
     * @param name the value for user_names.name
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_names.create_time
     *
     * @return the value of user_names.create_time
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_names.create_time
     *
     * @param createTime the value for user_names.create_time
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_names
     *
     * @mbg.generated Mon Jul 05 11:40:49 CST 2021
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uid=").append(uid);
        sb.append(", aid=").append(aid);
        sb.append(", name=").append(name);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}