package com.tax.file.model;

import java.util.Date;

public class FileToken {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.id
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.taxno
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String taxno;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.token
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String token;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.token_status
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String tokenStatus;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.req_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private Date reqDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.zone
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String zone;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.token_type
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String tokenType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.update_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private Date updateDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.key_code
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String keyCode;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.ymbb
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String ymbb;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column file_token.secert
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    private String secert;

    private String userName;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.id
     *
     * @return the value of file_token.id
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.id
     *
     * @param id the value for file_token.id
     *
     * @mbggenerated Thu May 13 17:29:02 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 file_token.taxno
     *
     * @return the value of file_token.taxno
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getTaxno() {
        return taxno;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.taxno
     *
     * @param taxno the value for file_token.taxno
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setTaxno(String taxno) {
        this.taxno = taxno;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.token
     *
     * @return the value of file_token.token
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getToken() {
        return token;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.token
     *
     * @param token the value for file_token.token
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setToken(String token) {
        this.token = token;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.token_status
     *
     * @return the value of file_token.token_status
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getTokenStatus() {
        return tokenStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.token_status
     *
     * @param tokenStatus the value for file_token.token_status
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setTokenStatus(String tokenStatus) {
        this.tokenStatus = tokenStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.req_date
     *
     * @return the value of file_token.req_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public Date getReqDate() {
        return reqDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.req_date
     *
     * @param reqDate the value for file_token.req_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setReqDate(Date reqDate) {
        this.reqDate = reqDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.zone
     *
     * @return the value of file_token.zone
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getZone() {
        return zone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.zone
     *
     * @param zone the value for file_token.zone
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setZone(String zone) {
        this.zone = zone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.token_type
     *
     * @return the value of file_token.token_type
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getTokenType() {
        return tokenType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.token_type
     *
     * @param tokenType the value for file_token.token_type
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.update_date
     *
     * @return the value of file_token.update_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.update_date
     *
     * @param updateDate the value for file_token.update_date
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.key_code
     *
     * @return the value of file_token.key_code
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getKeyCode() {
        return keyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.key_code
     *
     * @param keyCode the value for file_token.key_code
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setKeyCode(String keyCode) {
        this.keyCode = keyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.ymbb
     *
     * @return the value of file_token.ymbb
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getYmbb() {
        return ymbb;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.ymbb
     *
     * @param ymbb the value for file_token.ymbb
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setYmbb(String ymbb) {
        this.ymbb = ymbb;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column file_token.secert
     *
     * @return the value of file_token.secert
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public String getSecert() {
        return secert;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column file_token.secert
     *
     * @param secert the value for file_token.secert
     *
     * @mbggenerated Thu May 13 17:29:02 CST 2021
     */
    public void setSecert(String secert) {
        this.secert = secert;
    }

    //token状态开始
    /**
     * token状态-无效
     */
    public static final String TOKEN_STATUS_OFF = "0";
    /**
     * token状态-有效
     */
    public static final String TOKEN_STATUS_ON = "1";
    //token状态结束

    //token类型开始
    /**
     * token类型-主动
     */
    public static final String TOKEN_TYPE_ZD = "1";
    /**
     * token类型-被动
     */
    public static final String TOKEN_TYPE_BD = "2";
    //token类型结束
}