
package com.tmerclub.cloud.distribution.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

/**
 * 分销封禁记录DTO
 *
 * @author cl
 * @date 2021-08-09 14:14:08
 */
public class DistributionUserBanDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long banId;

    @Schema(description = "分销员id")
    private Long distributionUserId;

    @Schema(description = "原因(0 失去联系 1恶意刷单 2其他)")
    private Integer banReason;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "状态(1 正常 2暂时封禁 -1永久封禁)")
    private Integer state;

    @Schema(description = "修改人")
    private Long modifier;

    @Schema(description = "分销员手机号")
    private String userMobile;

    @Schema(description = "分销员昵称")
    private String nickName;

    @Schema(description = "排序字段：分销管理-分销员-封禁记录： 0无 1操作时间")
    private Integer sortParam;

    @Schema(description = "排序类型 0无 1 正序 2倒序")
    private Integer sortType;

    public Long getBanId() {
        return banId;
    }

    public void setBanId(Long banId) {
        this.banId = banId;
    }

    public Long getDistributionUserId() {
        return distributionUserId;
    }

    public void setDistributionUserId(Long distributionUserId) {
        this.distributionUserId = distributionUserId;
    }

    public Integer getBanReason() {
        return banReason;
    }

    public void setBanReason(Integer banReason) {
        this.banReason = banReason;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getModifier() {
        return modifier;
    }

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

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public Integer getSortParam() {
        return sortParam;
    }

    public void setSortParam(Integer sortParam) {
        this.sortParam = sortParam;
    }

    public Integer getSortType() {
        return sortType;
    }

    public void setSortType(Integer sortType) {
        this.sortType = sortType;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "DistributionUserBanDTO{" +
                "banId=" + banId +
                ", distributionUserId=" + distributionUserId +
                ", banReason=" + banReason +
                ", remarks='" + remarks + '\'' +
                ", state=" + state +
                ", modifier=" + modifier +
                ", userMobile='" + userMobile + '\'' +
                ", nickName='" + nickName + '\'' +
                ", sortParam=" + sortParam +
                ", sortType=" + sortType +
                '}';
    }
}
