package com.pqs9300.pojo.strategy;

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

/**
 * @Description
 * @Author cdf
 * @Date 2020/6/17 14:46
 **/
@Table(name="THS_Alarm")
public class ThsAlarmDTO {
    @Id
    @Column(name="Alarm_Index")
    private String alarmIndex;

    @Column(name="Alarm_Name")
    private String alarmName;

    @Column(name="Grade")
    private Integer grade;

    @Column(name="Operation")
    private Integer operation;

    @Column(name="State")
    private Integer state;

    @Column(name="User_Index")
    private String userIndex;

    @Column(name="Updatetime")
    private Date updateTime;

    @Transient
    private String userName;

    public String getAlarmIndex() {
        return alarmIndex;
    }

    public void setAlarmIndex(String alarmIndex) {
        this.alarmIndex = alarmIndex;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getOperation() {
        return operation;
    }

    public void setOperation(Integer operation) {
        this.operation = operation;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getUserIndex() {
        return userIndex;
    }

    public void setUserIndex(String userIndex) {
        this.userIndex = userIndex;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserName() {
        return userName;
    }

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