package com.reyun.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by sunhao on 17/4/10.
 * description: 事件分析
 */
@Entity
public class EventStats {

    private Long id;

    private Long app;

    private Long createAccount;

    private Date createTime;

    private Long modifyAccount;

    private Date modifyTime;
    //事件分析名称
    private String name;
    //事件名称
    private String eventName;
    //事件别名
    private String eventAlias;
    //事件属性条件
    private String eventCondition;
    //查询sql
    private String querySql;
    //是否有效
    private Boolean valid;

    //是否是复杂事件
    private Boolean complicatedEvents;

    @Id
    @GeneratedValue
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApp() {
        return app;
    }

    public void setApp(Long app) {
        this.app = app;
    }

    public Long getCreateAccount() {
        return createAccount;
    }

    public void setCreateAccount(Long createAccount) {
        this.createAccount = createAccount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getModifyAccount() {
        return modifyAccount;
    }

    public void setModifyAccount(Long modifyAccount) {
        this.modifyAccount = modifyAccount;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEventAlias() {
        return eventAlias;
    }

    public void setEventAlias(String eventAlias) {
        this.eventAlias = eventAlias;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getEventCondition() {
        return eventCondition;
    }

    public void setEventCondition(String eventCondition) {
        this.eventCondition = eventCondition;
    }

    public String getQuerySql() {
        return querySql;
    }

    public void setQuerySql(String querySql) {
        this.querySql = querySql;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public Boolean getComplicatedEvents() {
        return complicatedEvents;
    }

    public void setComplicatedEvents(Boolean complicatedEvents) {
        this.complicatedEvents = complicatedEvents;
    }
}
