package org.dromara.art.domain.bo;

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

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

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

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

    /**
     * 校区位置(文本)
     */
    private String location;

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

    /**
     * 经度
     */
    private Long lng;

    /**
     * 纬度
     */
    private Long lat;

    /**
     * 校区介绍
     */
    private String introduction;

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


}
