package cn.gintone.dto;

/**
 * 保存到iotdb中的文件解密日志
 */
public class FileDecLogInfo {
    private Long timesta;
    private String timestaStr;
    private String sysAbbre; // 申请解密的系统简称
    private String content; // 解密内容
    private String privateKey; // 私钥
    private String clientIp; // 访问端ip
    private String userId; // 用户id
    private String username; // 用户名
    private String fileName; // 文件名称
    private long fileId; // 文件id

    private Long beginTime;
    private Long endTime;
    private Integer pageSize;
    private Integer pageNum;

    public Long getTimesta() {
        return timesta;
    }

    public void setTimesta(Long timesta) {
        this.timesta = timesta;
    }

    public String getTimestaStr() {
        return timestaStr;
    }

    public void setTimestaStr(String timestaStr) {
        this.timestaStr = timestaStr;
    }

    public String getSysAbbre() {
        return sysAbbre;
    }

    public void setSysAbbre(String sysAbbre) {
        this.sysAbbre = sysAbbre;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getFileId() {
        return fileId;
    }

    public void setFileId(long fileId) {
        this.fileId = fileId;
    }

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    @Override
    public String toString() {
        return "FileDecLogInfo{" +
                "timesta=" + timesta +
                ", timestaStr='" + timestaStr + '\'' +
                ", sysAbbre='" + sysAbbre + '\'' +
                ", content='" + content + '\'' +
                ", privateKey='" + privateKey + '\'' +
                ", clientIp='" + clientIp + '\'' +
                ", userId='" + userId + '\'' +
                ", username='" + username + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileId=" + fileId +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                '}';
    }
}
