package com.ym.im.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author: JJww
 * @Date:2019-06-27
 */
@Data
public class IdModel {

    @ApiModelProperty(value = "客服Id")
    @NotNull(message = "{error.staffId_empty}")
    private Long staffId;

    @ApiModelProperty(value = "用户Id")
    @NotNull(message = "{error.userId_empty}")
    private Long userId;

    public IdModel(Long staffId, Long userId) {
        this.staffId = staffId;
        this.userId = userId;
    }
}
