package com.bcxin.ars.dto;

import com.abcxin.smart.validator.group.ThirdPartyTrain;
import com.bcxin.ars.model.sb.PersonGrade;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author zhangyutong
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PersonGradeDTO extends PersonGrade {

    /**
     * 第三方业务id
     */
    @NotBlank(message = "第三方业务id不能为空", groups = {ThirdPartyTrain.class})
    private String businessId;
}
