package com.xunmei.core.resumption.dto.appRuleItem;

import com.xunmei.core.resumption.dto.appRulePoint.AppRulePointDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jingyuanchao
 * @date 2022/4/27 16:57
 */
@Data
public class AppRuleItemDto {

    @ApiModelProperty(value = "规则项id")
    private Long id;

//    @ApiModelProperty(value = "规则编号")
//    private Integer itemNum;

    @ApiModelProperty(value = "规则名称")
    private String name;

//    @ApiModelProperty(value = "")
//    private String desc;

    @ApiModelProperty(value = "履职内容库id")
    private Long ruleId;
//
//    @NotNull(message = "规则类型不能为空")
//    @ApiModelProperty("规范类型id")
//    private Long ruleTypeId;

    @ApiModelProperty(value = "履职内容")
    private List<AppRulePointDto> pointDtoList;
}
