package org.dromara.system.domain.vo;

import org.dromara.system.domain.SysHospital;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 医院管理视图对象 sys_hospital
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysHospital.class)
public class SysHospitalVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long hospitalId;

    /**
     * 医院名称
     */
    @ExcelProperty(value = "医院名称")
    private String hospitalName;

    /**
     * 医院logo
     */
    @ExcelProperty(value = "医院logo")
    private String hospitalLogo;

    /**
     * 医院等级
     */
    @ExcelProperty(value = "医院等级")
    private String hospitalLevel;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phone;

    /**
     * 住院床位
     */
    @ExcelProperty(value = "住院床位")
    private String bedSpace;

    /**
     * 所属地区
     */
    @ExcelProperty(value = "所属地区")
    private String region;

    /**
     * 医院描述
     */
    @ExcelProperty(value = "医院描述")
    private String description;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
