forked from sfms3.0/sfms3.0
24 changed files with 270 additions and 78 deletions
@ -0,0 +1,48 @@ |
|||
package com.win.module.wms.controller.rule.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
|
|||
/** |
|||
* 物品基本信息 Excel VO |
|||
* |
|||
* @author 超级管理员 |
|||
*/ |
|||
@Data |
|||
public class RuleExcelVO { |
|||
@ExcelProperty("策略代码") |
|||
private String strategyCode; |
|||
|
|||
@ExcelProperty("优先级") |
|||
private Integer priority; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("状态") |
|||
private Integer status; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("条件") |
|||
private String condition; |
|||
|
|||
@ExcelProperty("配置") |
|||
private String configuration; |
|||
|
|||
@ExcelProperty("创建时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime createTime; |
|||
|
|||
@ExcelProperty("创建者ID") |
|||
private String creator; |
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.win.module.wms.controller.rule.vo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
@Schema(description = "管理后台 - 规则管理 Excel 导出 Request VO,参数和 RulePageReqVO 是一致的") |
|||
@Data |
|||
public class RuleExportReqVO { |
|||
|
|||
@Schema(description = "策略代码") |
|||
private String strategyCode; |
|||
|
|||
@Schema(description = "优先级") |
|||
private Integer priority; |
|||
|
|||
@Schema(description = "名称") |
|||
private String name; |
|||
|
|||
@Schema(description = "状态") |
|||
private Integer status; |
|||
|
|||
@Schema(description = "描述") |
|||
private String description; |
|||
|
|||
@Schema(description = "条件") |
|||
private String condition; |
|||
|
|||
@Schema(description = "配置") |
|||
private String configuration; |
|||
|
|||
} |
Loading…
Reference in new issue