package org.dromara.art.domain.bo;

import org.dromara.art.domain.ArtSchoolMajor;
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_major
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ArtSchoolMajor.class, reverseConvertGenerate = false)
public class ArtSchoolMajorBo extends BaseEntity {

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

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

    /**
     * 校区ID
     */
    private Long campusId;

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

    /**
     * 专业编码(可选)
     */
    private String majorCode;

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

    /**
     * 学历层次：本科/专科
     */
    private String educationLevel;

    /**
     * 学制(3/4/5)
     */
    private Long durationYears;

    /**
     * 专业类别：工学/理学/艺术学...
     */
    private String majorCategory;

    /**
     * 学位类型：工学学士/理学学士/艺术学学士...
     */
    private String degreeType;

    /**
     * 专业介绍
     */
    private String introduction;

    /**
     * 专业标签
     */
    private String tags;

    /**
     * 专业标签列表
     */
    private List<String> majorTags;

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


}
