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