RfidScanLog.java 2.85 KB
package cn.csbr.springboot.dao.model;

import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "rfid_scan_log")
public class RfidScanLog {
    @Id
    private String guid;

    /**
     * 货柜主键
     */
    private String cabinetguid;

    /**
     * 货柜编码
     */
    private String cabinetcode;

    /**
     * 扫描时间
     */
    @ColumnType(jdbcType = JdbcType.TIMESTAMP)
    private Date scantime;

    /**
     * 操作人
     */
    private String userguid;

    /**
     * 操作人真实姓名
     */
    private String userrealname;

    /**
     * @return guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * @param guid
     */
    public void setGuid(String guid) {
        this.guid = guid;
    }

    /**
     * This method returns the value of the 货柜主键
     *
     * @return cabinetguid - 货柜主键
     */
    public String getCabinetguid() {
        return cabinetguid;
    }

    /**
     * This method set the value of the 货柜主键
     *
     * @param cabinetguid 货柜主键
     */
    public void setCabinetguid(String cabinetguid) {
        this.cabinetguid = cabinetguid;
    }

    /**
     * This method returns the value of the 货柜编码
     *
     * @return cabinetcode - 货柜编码
     */
    public String getCabinetcode() {
        return cabinetcode;
    }

    /**
     * This method set the value of the 货柜编码
     *
     * @param cabinetcode 货柜编码
     */
    public void setCabinetcode(String cabinetcode) {
        this.cabinetcode = cabinetcode;
    }

    /**
     * This method returns the value of the 扫描时间
     *
     * @return scantime - 扫描时间
     */
    public Date getScantime() {
        return scantime;
    }

    /**
     * This method set the value of the 扫描时间
     *
     * @param scantime 扫描时间
     */
    public void setScantime(Date scantime) {
        this.scantime = scantime;
    }

    /**
     * This method returns the value of the 操作人
     *
     * @return userguid - 操作人
     */
    public String getUserguid() {
        return userguid;
    }

    /**
     * This method set the value of the 操作人
     *
     * @param userguid 操作人
     */
    public void setUserguid(String userguid) {
        this.userguid = userguid;
    }

    /**
     * This method returns the value of the 操作人真实姓名
     *
     * @return userrealname - 操作人真实姓名
     */
    public String getUserrealname() {
        return userrealname;
    }

    /**
     * This method set the value of the 操作人真实姓名
     *
     * @param userrealname 操作人真实姓名
     */
    public void setUserrealname(String userrealname) {
        this.userrealname = userrealname;
    }
}