|
@@ -1,328 +1,117 @@
|
|
|
package com.huaxu.order.entity;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
+@ApiModel(value = "工单管理表")
|
|
|
+@Data
|
|
|
public class WorkOrderManage implements Serializable {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
private Integer id;
|
|
|
|
|
|
+ @ApiModelProperty(value = "工单编号")
|
|
|
private String taskNo;
|
|
|
|
|
|
+ @ApiModelProperty(value = "工单描述")
|
|
|
private String taskDesc;
|
|
|
|
|
|
+ @ApiModelProperty(value = "接单人编号")
|
|
|
private String orderUserId;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "派单时间")
|
|
|
private Date sendTime;
|
|
|
|
|
|
+ @ApiModelProperty(value = "派单人")
|
|
|
private String sendBy;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "预计完成时间")
|
|
|
private Date planFinishDate;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "完成时间")
|
|
|
private Date finishDate;
|
|
|
|
|
|
+ @ApiModelProperty(value = "时限")
|
|
|
private String dateLimit;
|
|
|
|
|
|
+ @ApiModelProperty(value = "紧急程度")
|
|
|
private String urgency;
|
|
|
|
|
|
+ @ApiModelProperty(value = "地址")
|
|
|
private String address;
|
|
|
|
|
|
+ @ApiModelProperty(value = "联系人")
|
|
|
private String contactUser;
|
|
|
|
|
|
+ @ApiModelProperty(value = "联系电话")
|
|
|
private String contactPhone;
|
|
|
|
|
|
+ @ApiModelProperty(value = "报警时间")
|
|
|
private String orderTime;
|
|
|
|
|
|
+ @ApiModelProperty(value = "公司机构id")
|
|
|
private String companyOrgId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "部门机构id")
|
|
|
private String departmentOrgId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "0未接单、1进行中、2完成、3拒单")
|
|
|
private Integer orderStatus;
|
|
|
|
|
|
+ @ApiModelProperty(value = "1运维上报、2用户上报、3设备告警")
|
|
|
private Integer eventType;
|
|
|
|
|
|
+ @ApiModelProperty(value = "工单类型编号")
|
|
|
private Integer orderTypeId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "父单编号")
|
|
|
private String orderPid;
|
|
|
|
|
|
+ @ApiModelProperty(value = "租户id")
|
|
|
private String tenantId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "流程实例id")
|
|
|
private String processInstanceId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "流程定义id")
|
|
|
private String processDefId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "任务id")
|
|
|
private String currentTaskId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "当前处理人")
|
|
|
private String currentUsers;
|
|
|
|
|
|
+ @ApiModelProperty(value = "当前名称")
|
|
|
private String currentTaskName;
|
|
|
|
|
|
- private String createBy;
|
|
|
-
|
|
|
- private Date dateCreate;
|
|
|
-
|
|
|
- private String updateBy;
|
|
|
-
|
|
|
- private Date dateUpdate;
|
|
|
-
|
|
|
+ @ApiModelProperty(value = "拒绝理由")
|
|
|
private String rejectReason;
|
|
|
|
|
|
+ @ApiModelProperty(value = "经纬度")
|
|
|
private String geo;
|
|
|
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
- public Integer getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- public void setId(Integer id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public String getTaskNo() {
|
|
|
- return taskNo;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTaskNo(String taskNo) {
|
|
|
- this.taskNo = taskNo == null ? null : taskNo.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getTaskDesc() {
|
|
|
- return taskDesc;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTaskDesc(String taskDesc) {
|
|
|
- this.taskDesc = taskDesc == null ? null : taskDesc.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getOrderUserId() {
|
|
|
- return orderUserId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOrderUserId(String orderUserId) {
|
|
|
- this.orderUserId = orderUserId == null ? null : orderUserId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public Date getSendTime() {
|
|
|
- return sendTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSendTime(Date sendTime) {
|
|
|
- this.sendTime = sendTime;
|
|
|
- }
|
|
|
-
|
|
|
- public String getSendBy() {
|
|
|
- return sendBy;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSendBy(String sendBy) {
|
|
|
- this.sendBy = sendBy == null ? null : sendBy.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public Date getPlanFinishDate() {
|
|
|
- return planFinishDate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPlanFinishDate(Date planFinishDate) {
|
|
|
- this.planFinishDate = planFinishDate;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getFinishDate() {
|
|
|
- return finishDate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFinishDate(Date finishDate) {
|
|
|
- this.finishDate = finishDate;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDateLimit() {
|
|
|
- return dateLimit;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDateLimit(String dateLimit) {
|
|
|
- this.dateLimit = dateLimit == null ? null : dateLimit.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getUrgency() {
|
|
|
- return urgency;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUrgency(String urgency) {
|
|
|
- this.urgency = urgency == null ? null : urgency.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getAddress() {
|
|
|
- return address;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAddress(String address) {
|
|
|
- this.address = address == null ? null : address.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getContactUser() {
|
|
|
- return contactUser;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactUser(String contactUser) {
|
|
|
- this.contactUser = contactUser == null ? null : contactUser.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getContactPhone() {
|
|
|
- return contactPhone;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactPhone(String contactPhone) {
|
|
|
- this.contactPhone = contactPhone == null ? null : contactPhone.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getOrderTime() {
|
|
|
- return orderTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOrderTime(String orderTime) {
|
|
|
- this.orderTime = orderTime == null ? null : orderTime.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getCompanyOrgId() {
|
|
|
- return companyOrgId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCompanyOrgId(String companyOrgId) {
|
|
|
- this.companyOrgId = companyOrgId == null ? null : companyOrgId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getDepartmentOrgId() {
|
|
|
- return departmentOrgId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDepartmentOrgId(String departmentOrgId) {
|
|
|
- this.departmentOrgId = departmentOrgId == null ? null : departmentOrgId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getOrderStatus() {
|
|
|
- return orderStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOrderStatus(Integer orderStatus) {
|
|
|
- this.orderStatus = orderStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getEventType() {
|
|
|
- return eventType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setEventType(Integer eventType) {
|
|
|
- this.eventType = eventType;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getOrderTypeId() {
|
|
|
- return orderTypeId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOrderTypeId(Integer orderTypeId) {
|
|
|
- this.orderTypeId = orderTypeId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getOrderPid() {
|
|
|
- return orderPid;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOrderPid(String orderPid) {
|
|
|
- this.orderPid = orderPid == null ? null : orderPid.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getTenantId() {
|
|
|
- return tenantId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTenantId(String tenantId) {
|
|
|
- this.tenantId = tenantId == null ? null : tenantId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getProcessInstanceId() {
|
|
|
- return processInstanceId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProcessInstanceId(String processInstanceId) {
|
|
|
- this.processInstanceId = processInstanceId == null ? null : processInstanceId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getProcessDefId() {
|
|
|
- return processDefId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProcessDefId(String processDefId) {
|
|
|
- this.processDefId = processDefId == null ? null : processDefId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getCurrentTaskId() {
|
|
|
- return currentTaskId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCurrentTaskId(String currentTaskId) {
|
|
|
- this.currentTaskId = currentTaskId == null ? null : currentTaskId.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getCurrentUsers() {
|
|
|
- return currentUsers;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCurrentUsers(String currentUsers) {
|
|
|
- this.currentUsers = currentUsers == null ? null : currentUsers.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getCurrentTaskName() {
|
|
|
- return currentTaskName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCurrentTaskName(String currentTaskName) {
|
|
|
- this.currentTaskName = currentTaskName == null ? null : currentTaskName.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public String getCreateBy() {
|
|
|
- return createBy;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCreateBy(String createBy) {
|
|
|
- this.createBy = createBy == null ? null : createBy.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public Date getDateCreate() {
|
|
|
- return dateCreate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDateCreate(Date dateCreate) {
|
|
|
- this.dateCreate = dateCreate;
|
|
|
- }
|
|
|
-
|
|
|
- public String getUpdateBy() {
|
|
|
- return updateBy;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUpdateBy(String updateBy) {
|
|
|
- this.updateBy = updateBy == null ? null : updateBy.trim();
|
|
|
- }
|
|
|
-
|
|
|
- public Date getDateUpdate() {
|
|
|
- return dateUpdate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDateUpdate(Date dateUpdate) {
|
|
|
- this.dateUpdate = dateUpdate;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRejectReason() {
|
|
|
- return rejectReason;
|
|
|
- }
|
|
|
+ @ApiModelProperty(value = "创建人")
|
|
|
+ private String createBy;
|
|
|
|
|
|
- public void setRejectReason(String rejectReason) {
|
|
|
- this.rejectReason = rejectReason == null ? null : rejectReason.trim();
|
|
|
- }
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
+ private Date dateCreate;
|
|
|
|
|
|
- public String getGeo() {
|
|
|
- return geo;
|
|
|
- }
|
|
|
+ @ApiModelProperty(value = "修改人")
|
|
|
+ private String updateBy;
|
|
|
|
|
|
- public void setGeo(String geo) {
|
|
|
- this.geo = geo == null ? null : geo.trim();
|
|
|
- }
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "修改时间")
|
|
|
+ private Date dateUpdate;
|
|
|
}
|