package com.palmnest.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author hxt
 * @Description 用户模块活跃量统计实体类
 * @Date 2019/1/11 11:09
 **/
@Entity
@Table(name = "tb_user_active_count")
public class UserActiveCount implements Serializable {

	private static final long serialVersionUID = 6737354639779937044L;

	private Long    id;
	private String  serviceCode;// 服务编码
	private Date    date;// 日期
	private Integer count;// 活跃量
	private Integer orgId;// 项目id

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

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

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}
}
