package org.dromara.art.domain.bo;

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

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

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

    /**
     * 标签名称(如：双一流学科/国家级特色专业/艺术类重点专业...)
     */
    @NotBlank(message = "标签名称(如：双一流学科/国家级特色专业/艺术类重点专业...)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tagName;

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


}
