package com.palmnest.model.dinner;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tb_recharge_record")
public class RechargeRecord implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = -6555581657241149814L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	private Long    id;
	private String  orgId;
	private Date    createTime;
	private Integer monthCount;//当月工作日天数
	private Integer sumCount;//当月充值总数(当月工作日天数*单日积分)
	private Integer dayCount;//单日积分

	public RechargeRecord() {

	}

	public RechargeRecord(String orgId, Date createTime,
						  Integer monthCount, Integer sumCount, Integer dayCount) {
		super();
		this.orgId = orgId;
		this.createTime = createTime;
		this.monthCount = monthCount;
		this.sumCount = sumCount;
		this.dayCount = dayCount;
	}

	public Long getId() {
		return id;
	}

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

	public String getOrgId() {
		return orgId;
	}

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

	public Date getCreateTime() {
		return createTime;
	}

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

	public Integer getMonthCount() {
		return monthCount;
	}

	public void setMonthCount(Integer monthCount) {
		this.monthCount = monthCount;
	}

	public Integer getSumCount() {
		return sumCount;
	}

	public void setSumCount(Integer sumCount) {
		this.sumCount = sumCount;
	}

	public Integer getDayCount() {
		return dayCount;
	}

	public void setDayCount(Integer dayCount) {
		this.dayCount = dayCount;
	}


}
