package com.cwhelp.admin.business.validator;


import com.cwhelp.modules.business.domain.BssPlatform;
import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author yan.y
 * @date 2019/07/29
 */
@Data
public class BssDeptValid implements Serializable {
    @NotEmpty(message = "名称不能为空")
    private String name;
    @NotNull(message = "平台不能为空")
    private BssPlatform bssPlatform;
}