package com.bonus.system.warning;

import lombok.Data;

import java.util.Date;

@Data
public class SysWarning {

    public SysWarning(String warningId,String warningEvent,String warningIp,String operaUserName,String operaTime, String warningStatus){
        this.warningId = warningId;
        this.warningEvent = warningEvent;
        this.warningIp = warningIp;
        this.operaUserName = operaUserName;
        this.operaTime = operaTime;
        this.warningStatus = warningStatus;
    }
    private String warningId;

    private String warningEvent = "";

    private String warningIp = "";

    private String operaUserName = "";

    private String operaTime;

    private String warningStatus = "0";

    public String toString() {
        return "SysWarning{" +
                "warningId='" + warningId + '\'' +
                ", warningEvent='" + warningEvent + '\'' +
                ", warningIp='" + warningIp + '\'' +
                ", operaUserName='" + operaUserName + '\'' +
                ", warningTime=" + operaTime +
                ", warningStatus='" + warningStatus + '\'' +
                '}';
    }
}
