package org.dromara.art.domain.bo;

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

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

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

    /**
     * 标签名称（如：985、211、双一流、艺术类院校）
     */
    @NotBlank(message = "标签名称（如：985、211、双一流、艺术类院校）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tagName;

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


}
