package com.zksy.manhole.dto.out;

import com.zksy.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 导出设备明细数据-出参
 *
 * @author xianggx
 */
@Data
@ApiModel(value = "导出设备明细数据-出参", description = "导出设备明细数据-出参")
public class EquipmentExportOutDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "设备编码")
    private String equipmentCode;

    @Excel(name = "设备名称")
    private String equipmentName;

    @Excel(name = "设备类别")
    private String equipmentTypeName;

    @Excel(name = "设备位置描述")
    private String equipmentLocation;

    @Excel(name = "设备当前状态", readConverterExp = "1=在用,2=闲置,3=维修,4=报废,5=待入库")
    private Integer currentStatus;

    @Excel(name = "安装时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime installTime;
}
