package org.dromara.system.domain.vo;

import org.dromara.system.domain.SysWard;
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_ward
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysWard.class)
public class SysWardVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 病区名称
     */
    @ExcelProperty(value = "病区名称")
    private String wardName;

    /**
     * 科室ID
     */
    private String deptId;

    @ExcelProperty(value = "科室名称")
    private String deptName;

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


}
