package org.dromara.art.domain.bo;

import com.fasterxml.jackson.databind.JsonNode;
import org.dromara.art.domain.ArtSchoolCollege;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 学校学院业务对象 art_school_college
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ArtSchoolCollege.class, reverseConvertGenerate = false)
public class ArtSchoolCollegeBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long collegeId;

    /**
     * 学校ID
     */
    @NotNull(message = "学校ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long schoolId;

    /**
     * 学院编码(可选)
     */
    private String collegeCode;

    /**
     * 学院名称
     */
    @NotBlank(message = "学院名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String collegeName;

    /**
     * 学院介绍
     */
    private String introduction;

    /**
     * 排序
     */
    private Long sortNo;

    /**
     * 备注
     */
    private String remark;

    private Integer college51sdxId;

    private List<ArtSchoolMajorBo> schoolMajorBoList;
}
