package com.cwhelp.admin.business.validator;

import lombok.Data;

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

/**
 * @author huang.jc
 * @date 2019/12/11
 */
@Data
public class BssClassItemValid implements Serializable {
    @NotEmpty(message = "科目名称不能为空")
    private String itemName;

    @NotNull(message = "科目类型不能为空")
    private Short itemType;
}