package com.reyun.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

/**
 * Created by sunhao on 17/4/13.
 * description: 通用事件
 */
@Entity
public class CommonEvent {

    private Long id;

    private String event;

    private String alias;

    @Id
    @GeneratedValue
    public Long getId() {

        return id;
    }

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

    @NotNull
    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    @NotNull
    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

}
