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 SysIndustryBo extends BaseEntity {
    @NotNull(message = "分类ID不能为空", groups = { EditGroup.class })
    private Long industryId;
    private Long parentId;
    @NotBlank(message = "分类名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String industryName;
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer orderNum;
    private String status;
    private String remark;
}
