package com.palmnest.model.notice;

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

/**
 * @Author 黄笑天
 * @Description todo 短信账号配置实体类
 * @Date 2018/9/11 16:10
 **/
@Entity
@Table(name = "tb_mobile_config")
public class MobileConfigModel implements Serializable {

	private Long    id;
	private String  mobileNum;//手机账号
	private String  password;//密码
	private Date    createTime;//创建时间
	private String  signature;//短信签名
	private Date    modifyTime;//修改时间
	private Long    creator;//创建者
	private Integer orgId;//项目id
	private Long    modify;//修改人
	private Integer isEnable;//是否可用

	@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 getMobileNum() {
		return mobileNum;
	}

	public void setMobileNum(String mobileNum) {
		this.mobileNum = mobileNum;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

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

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

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

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Integer getOrgId() {
		return orgId;
	}

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

	public Long getModify() {
		return modify;
	}

	public void setModify(Long modify) {
		this.modify = modify;
	}

	public Integer getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Integer isEnable) {
		this.isEnable = isEnable;
	}
}
