package org.dromara.art.domain.bo;

import org.dromara.art.domain.ArtMajor;
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.*;

/**
 * 艺术专业库业务对象 art_major
 *
 * @author ZhouWenTao
 * @date 2026-02-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ArtMajor.class, reverseConvertGenerate = false)
public class ArtMajorBo extends BaseEntity {

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

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

    /**
     * 学历层次
     */
    @NotBlank(message = "学历层次不能为空", groups = { AddGroup.class, EditGroup.class })
    private String educationLevel;

    /**
     * 专业图标
     */
    private String majorIcon;

    /**
     * 学制(年)
     */
    private Long schoolingYears;

    /**
     * 所属一级学科
     */
    private String disciplinePrimary;

    /**
     * 所属二级学科
     */
    private String disciplineSecondary;

    /**
     * 授予学士学位
     */
    private String degreeAwarded;

    /**
     * 专业概括
     */
    private String summary;

    /**
     * 培养方向
     */
    private String trainingDirection;

    /**
     * 主要课程
     */
    private String coreCourses;

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


}
