|
|
@ -9,6 +9,7 @@ import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
import org.springframework.util.ObjectUtils; |
|
|
|
import com.ruoyi.common.annotation.Excel.ColumnType; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
@ -61,13 +62,13 @@ public class DcDevice { |
|
|
|
@Excel(name = "所属网段") |
|
|
|
private String networkSegment; |
|
|
|
@ApiModelProperty("设备图片") |
|
|
|
@Excel(name = "设备图片") |
|
|
|
@Excel(name = "设备图片",cellType = ColumnType.IMAGE) |
|
|
|
private String deviceImg; |
|
|
|
@ApiModelProperty("安装日期") |
|
|
|
@Excel(name = "安装日期") |
|
|
|
@Excel(name = "安装日期",dateFormat = "yyyy-MM-dd") |
|
|
|
private Date installationDate; |
|
|
|
@ApiModelProperty("生产日期") |
|
|
|
@Excel(name = "生产日期") |
|
|
|
@Excel(name = "生产日期",dateFormat = "yyyy-MM-dd") |
|
|
|
private Date productionDate; |
|
|
|
@ApiModelProperty("使用年限") |
|
|
|
@Excel(name = "使用年限") |
|
|
|