package com.pcloud.book.group.entity;

import com.pcloud.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description
 * @Author ruansiyuan
 * @Date 2019/8/5 15:59
 **/
public class JoinGroupCipher extends BaseEntity {
    private static final long serialVersionUID = -8724831387632496417L;

    @ApiModelProperty("密码")
    private String cipher;

    @ApiModelProperty("社群码id")
    private Long bookGroupId;

    @ApiModelProperty("分类id")
    private Long classifyId;

    @ApiModelProperty("群id")
    private Long qrcodeId;

    @ApiModelProperty("创建人")
    private Long wechatUserId;

    @ApiModelProperty("使用人微信id")
    private String wxId;

    @ApiModelProperty("是否使用")
    private Boolean hasUsed;

    @ApiModelProperty("机器人id")
    private String altId;

    @ApiModelProperty("暗号类型：1群，2分类，3社群码")
    private Integer type;

    public String getCipher() {
        return cipher;
    }

    public void setCipher(String cipher) {
        this.cipher = cipher;
    }

    public Long getBookGroupId() {
        return bookGroupId;
    }

    public void setBookGroupId(Long bookGroupId) {
        this.bookGroupId = bookGroupId;
    }

    public Long getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Long classifyId) {
        this.classifyId = classifyId;
    }

    public Long getQrcodeId() {
        return qrcodeId;
    }

    public void setQrcodeId(Long qrcodeId) {
        this.qrcodeId = qrcodeId;
    }

    public Long getWechatUserId() {
        return wechatUserId;
    }

    public void setWechatUserId(Long wechatUserId) {
        this.wechatUserId = wechatUserId;
    }

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public Boolean getHasUsed() {
        return hasUsed;
    }

    public void setHasUsed(Boolean hasUsed) {
        this.hasUsed = hasUsed;
    }

    public String getAltId() {
        return altId;
    }

    public void setAltId(String altId) {
        this.altId = altId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "JoinGroupCipher{" +
                "cipher='" + cipher + '\'' +
                ", bookGroupId=" + bookGroupId +
                ", classifyId=" + classifyId +
                ", qrcodeId=" + qrcodeId +
                ", wechatUserId=" + wechatUserId +
                ", wxId='" + wxId + '\'' +
                ", hasUsed=" + hasUsed +
                ", altId='" + altId + '\'' +
                ", type=" + type +
                "} " + super.toString();
    }
}
