package org.dromara.art.domain.bo;

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

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

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

    /**
     * 学校详细介绍（大文本）
     */
    private String introduction;

    /**
     * 学校地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String contact;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 官网地址
     */
    private String website;

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


}
