package com.ym.im.entity;

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

import javax.validation.constraints.NotNull;

/**
 * @author: JJww
 * @Date:2019-06-27
 */
@Data
@Accessors(chain = true)
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;

}
