package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysHospital;
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.*;

/**
 * 医院管理业务对象 sys_hospital
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysHospital.class, reverseConvertGenerate = false)
public class SysHospitalBo extends BaseEntity {

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

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

    /**
     * 医院logo
     */
    private String hospitalLogo;

    /**
     * 医院等级
     */
    private String hospitalLevel;

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

    /**
     * 住院床位
     */
    private String bedSpace;

    /**
     * 所属地区
     */
    private String region;

    /**
     * 医院描述
     */
    private String description;

    /**
     * 状态（0正常 1停用）
     */
    private String status;


}
