parent
94adb6e69f
commit
5f3fa6792b
9 changed files with 248 additions and 105 deletions
@ -0,0 +1,36 @@ |
||||
package org.springblade.modules.business.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
|
||||
@Data |
||||
@ColumnWidth(25) |
||||
@HeadRowHeight(20) |
||||
@ContentRowHeight(18) |
||||
public class MaintenanceTaskDetailExcel implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@ExcelProperty("楼层") |
||||
private String floor; |
||||
|
||||
@ExcelProperty("房间名称") |
||||
private String deptName; |
||||
|
||||
@ExcelProperty("专业/设备") |
||||
private String deviceName; |
||||
|
||||
@ExcelProperty("巡检内容") |
||||
private String checkContent; |
||||
|
||||
@ExcelProperty("状态") |
||||
private Integer status; |
||||
|
||||
@ExcelProperty("价格") |
||||
private Double price; |
||||
} |
||||
@ -0,0 +1,43 @@ |
||||
package org.springblade.modules.business.pojo.vo; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
@Data |
||||
@AllArgsConstructor |
||||
public class MaintenanceTaskDetailVO { |
||||
|
||||
/** |
||||
* 楼层 |
||||
*/ |
||||
private String floor; |
||||
|
||||
/** |
||||
* 部门 |
||||
*/ |
||||
private String deptName; |
||||
|
||||
/** |
||||
* 设备名称 |
||||
*/ |
||||
private String deviceName; |
||||
|
||||
/** |
||||
* 巡检内容 |
||||
*/ |
||||
private String checkContent; |
||||
|
||||
/** |
||||
* 状态 |
||||
*/ |
||||
private Integer status; |
||||
|
||||
/** |
||||
* 价格 |
||||
*/ |
||||
// private Double price;
|
||||
|
||||
} |
||||
Loading…
Reference in new issue