package com.reyun.model;

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

@Entity
public class EventAttributeMeta {

	private Long id;
	// 属性名
	private String attribute;
	// 备用名
	private String alias;
	private Boolean status;
	private Boolean addStatsCondition;
	private Boolean addStatsView;
	private String appkey;

	private Long modifyAccount;
	private Date modifyTime;



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

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


	public String getAlias() {
		return alias;
	}

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

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	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 getAppkey() {
		return appkey;
	}

	public void setAppkey(String appkey) {
		this.appkey = appkey;
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public Boolean getAddStatsCondition() {
		return addStatsCondition;
	}

	public void setAddStatsCondition(Boolean addStatsCondition) {
		this.addStatsCondition = addStatsCondition;
	}

	public Boolean getAddStatsView() {
		return addStatsView;
	}

	public void setAddStatsView(Boolean addStatsView) {
		this.addStatsView = addStatsView;
	}

	@Override
	public String toString() {
		return "EventAttributeMeta{" +
				"id=" + id +
				", attribute='" + attribute + '\'' +
				", alias='" + alias + '\'' +
				", status=" + status +
				", addStatsCondition=" + addStatsCondition +
				", addStatsView=" + addStatsView +
				", appkey='" + appkey + '\'' +
				", modifyAccount=" + modifyAccount +
				", modifyTime=" + modifyTime +
				'}';
	}
}
