package org.dromara.system.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

@Data
@EqualsAndHashCode(callSuper = true)
public class SysIndustrySkillBo extends BaseEntity {
    @NotNull(message = "职位ID不能为空", groups = { EditGroup.class })
    private Long skillId;
    @NotNull(message = "所属分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long industryId;
    @NotBlank(message = "职位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String skillName;
    private Integer orderNum;
    private String status;
    private String remark;
}
