#工单模块
This commit is contained in:
@@ -0,0 +1 @@
|
||||
package com.maibu.core.business;
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.maibu.core.business.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@ApiModel("工单派发参数")
|
||||
public class WorkOrderDispatchDTO {
|
||||
|
||||
@ApiModelProperty("工单 ID")
|
||||
private Long orderId;
|
||||
|
||||
@ApiModelProperty("负责人 ID")
|
||||
private Long assigneeId;
|
||||
|
||||
@ApiModelProperty("负责人姓名")
|
||||
private String assigneeName;
|
||||
|
||||
@ApiModelProperty("协同人员 ID 列表")
|
||||
private String collaboratorIds;
|
||||
|
||||
@ApiModelProperty("协同人员姓名列表")
|
||||
private String collaboratorNames;
|
||||
|
||||
@ApiModelProperty("计划开始时间")
|
||||
private LocalDateTime planStartTime;
|
||||
|
||||
@ApiModelProperty("计划结束时间")
|
||||
private LocalDateTime planEndTime;
|
||||
|
||||
@ApiModelProperty("截止时间")
|
||||
private LocalDateTime deadlineTime;
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.maibu.core.business.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@ApiModel("工单查询参数")
|
||||
public class WorkOrderQueryDTO {
|
||||
|
||||
@ApiModelProperty("工单编号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiModelProperty("工单标题")
|
||||
private String orderTitle;
|
||||
|
||||
@ApiModelProperty("工单来源")
|
||||
private Integer sourceType;
|
||||
|
||||
@ApiModelProperty("工单类型")
|
||||
private Integer orderType;
|
||||
|
||||
@ApiModelProperty("优先级")
|
||||
private Integer priorityLevel;
|
||||
|
||||
@ApiModelProperty("负责人 ID")
|
||||
private Long assigneeId;
|
||||
|
||||
@ApiModelProperty("设备 ID")
|
||||
private Long deviceId;
|
||||
|
||||
@ApiModelProperty("场站 ID")
|
||||
private Long siteId;
|
||||
|
||||
@ApiModelProperty("组织 ID")
|
||||
private Long orgId;
|
||||
|
||||
@ApiModelProperty("工单状态")
|
||||
private Integer orderStatus;
|
||||
|
||||
@ApiModelProperty("开始时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@ApiModelProperty("结束时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
@ApiModelProperty("搜索关键词")
|
||||
private String keyword;
|
||||
|
||||
@ApiModelProperty("页码")
|
||||
private Integer pageNum = 1;
|
||||
|
||||
@ApiModelProperty("每页大小")
|
||||
private Integer pageSize = 10;
|
||||
}
|
||||
Reference in New Issue
Block a user