package com.palmnest.model;

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;

/**
 * 推送账单模板
 *
 * @author longmeizhen
 */
@Entity
@Table(name = "tb_pushmodel")
public class PushModel implements Serializable {


	public PushModel() {
		super();
	}


	public PushModel(Integer id, Integer billType, Integer pushWay,
					 String pushContent, Date createTime, Long creatorId, Long modifier, Date modifyTime, Integer isEnabled) {
		super();
		this.id = id;
		this.billType = billType;
		this.pushWay = pushWay;
		this.pushContent = pushContent;
		this.createTime = createTime;
		this.creatorId = creatorId;
		this.modifier = modifier;
		this.modifyTime = modifyTime;
		this.isEnabled = isEnabled;
	}


	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	private Integer id;
	@Column(name = "billType")
	private Integer billType;
	@Column(name = "pushWay")
	private Integer pushWay;
	@Column(name = "pushContent")
	private String  pushContent;
	@Column(name = "createTime")
	private Date    createTime;
	@Column(name = "creatorId")
	private Long    creatorId;
	@Column(name = "modifier")
	private Long    modifier;
	@Column(name = "modifyTime")
	private Date    modifyTime;
	@Column(name = "isEnabled")
	private Integer isEnabled;

	private String orgId;


	public Integer getIsEnabled() {
		return isEnabled;
	}


	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}


	public Long getModifier() {
		return modifier;
	}


	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}


	public Date getModifyTime() {
		return modifyTime;
	}


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


	public Integer getId() {
		return id;
	}

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

	public Integer getBillType() {
		return billType;
	}

	public void setBillType(Integer billType) {
		this.billType = billType;
	}

	public Integer getPushWay() {
		return pushWay;
	}

	public void setPushWay(Integer pushWay) {
		this.pushWay = pushWay;
	}

	public String getPushContent() {
		return pushContent;
	}

	public void setPushContent(String pushContent) {
		this.pushContent = pushContent;
	}

	public Date getCreateTime() {
		return createTime;
	}

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

	public Long getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}


	public String getOrgId() {
		return orgId;
	}


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


}
