package cn.shlanbao.qms.domain.vo; import cn.shlanbao.qms.domain.LbDevice; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.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; /** * 测试仪视图对象 lb_device * * @author bsw * @date 2024-12-12 */ @Data @ExcelIgnoreUnannotated @AutoMapper(target = LbDevice.class) public class LbDeviceVo implements Serializable { @Serial private static final long serialVersionUID = 1L; /** * */ @ExcelProperty(value = "") private Long id; /** * 设备类型 */ @ExcelProperty(value = "设备类型", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "lb_device_type") private String deviceType; /** * 设备编号 */ @ExcelProperty(value = "设备编号") private String deviceCode; /** * 所在组 */ @ExcelProperty(value = "所在组") private String deviceGroup; /** * 所在部门 */ @ExcelProperty(value = "所在部门") private String deviceDept; /** * 所在工位 */ @ExcelProperty(value = "所在工位") private String deviceStation; /** * 备注 */ @ExcelProperty(value = "备注") private String remark; }