com.dingtalk.api.response.OapiRhinoMosExecPerformReworkResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.internal.util.json.JSONValidatingReader;
import com.taobao.api.TaobaoObject;
import java.util.Date;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.rhino.mos.exec.perform.rework response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiRhinoMosExecPerformReworkResponse extends TaobaoResponse {
private static final long serialVersionUID = 4767877485231764584L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 重新开始的工序详情
*/
@ApiField("model")
private OperationPerformDto model;
/**
* 是否成功
*/
@ApiField("success")
private Boolean success;
public void setErrcode(Long errcode) {
this.errcode = errcode;
}
public Long getErrcode( ) {
return this.errcode;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public String getErrmsg( ) {
return this.errmsg;
}
public void setModel(OperationPerformDto model) {
this.model = model;
}
public OperationPerformDto getModel( ) {
return this.model;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Boolean getSuccess( ) {
return this.success;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* 重新开始的工序详情
*
* @author top auto create
* @since 1.0, null
*/
public static class OperationPerformDto extends TaobaoObject {
private static final long serialVersionUID = 5554953668456915813L;
/**
* 是否有效
*/
@ApiField("active")
private String active;
/**
* 分批ID
*/
@ApiField("batch_id")
private Long batchId;
/**
* 上下文
*/
@ApiField("context")
private String context;
/**
* 创建类型
*/
@ApiField("create_type")
private String createType;
/**
* 执行设备ID列表
*/
@ApiListField("device_ids")
@ApiField("number")
private List deviceIds;
/**
* 实体ID
*/
@ApiField("entity_id")
private Long entityId;
/**
* 实体类型
*/
@ApiField("entity_type")
private String entityType;
/**
* 排位布局版本
*/
@ApiField("flow_version")
private Long flowVersion;
/**
* 工序执行记录ID
*/
@ApiField("id")
private Long id;
/**
* 工序类型
*/
@ApiField("operation_type")
private String operationType;
/**
* 工序ID
*/
@ApiField("operation_uid")
private Long operationUid;
/**
* 订单ID
*/
@ApiField("order_id")
private Long orderId;
/**
* 执行状态
*/
@ApiField("perform_status")
private String performStatus;
/**
* 执行类型
*/
@ApiField("perform_type")
private String performType;
/**
* 优先级
*/
@ApiField("priority")
private Long priority;
/**
* 处理耗时
*/
@ApiField("process_cost_time")
private String processCostTime;
/**
* 工序能力类型
*/
@ApiField("process_type_code")
private String processTypeCode;
/**
* 执行结束时间
*/
@ApiField("processing_end_time")
private Date processingEndTime;
/**
* 执行开始时间
*/
@ApiField("processing_start_time")
private Date processingStartTime;
/**
* 工段
*/
@ApiField("section_code")
private String sectionCode;
/**
* 来源ID
*/
@ApiField("source_id")
private String sourceId;
/**
* 来源类型
*/
@ApiField("source_type")
private String sourceType;
/**
* 租户ID
*/
@ApiField("tenant_id")
private String tenantId;
/**
* 执行员工列表
*/
@ApiListField("work_nos")
@ApiField("string")
private List workNos;
/**
* 执行工位
*/
@ApiField("workstation_code")
private String workstationCode;
public String getActive() {
return this.active;
}
public void setActive(String active) {
this.active = active;
}
public Long getBatchId() {
return this.batchId;
}
public void setBatchId(Long batchId) {
this.batchId = batchId;
}
public String getContext() {
return this.context;
}
public void setContext(String context) {
this.context = context;
}
public void setContextString(String context) {
this.context = context;
}
public String getCreateType() {
return this.createType;
}
public void setCreateType(String createType) {
this.createType = createType;
}
public List getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List deviceIds) {
this.deviceIds = deviceIds;
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
}
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
}
public Long getFlowVersion() {
return this.flowVersion;
}
public void setFlowVersion(Long flowVersion) {
this.flowVersion = flowVersion;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getOperationType() {
return this.operationType;
}
public void setOperationType(String operationType) {
this.operationType = operationType;
}
public Long getOperationUid() {
return this.operationUid;
}
public void setOperationUid(Long operationUid) {
this.operationUid = operationUid;
}
public Long getOrderId() {
return this.orderId;
}
public void setOrderId(Long orderId) {
this.orderId = orderId;
}
public String getPerformStatus() {
return this.performStatus;
}
public void setPerformStatus(String performStatus) {
this.performStatus = performStatus;
}
public String getPerformType() {
return this.performType;
}
public void setPerformType(String performType) {
this.performType = performType;
}
public Long getPriority() {
return this.priority;
}
public void setPriority(Long priority) {
this.priority = priority;
}
public String getProcessCostTime() {
return this.processCostTime;
}
public void setProcessCostTime(String processCostTime) {
this.processCostTime = processCostTime;
}
public String getProcessTypeCode() {
return this.processTypeCode;
}
public void setProcessTypeCode(String processTypeCode) {
this.processTypeCode = processTypeCode;
}
public Date getProcessingEndTime() {
return this.processingEndTime;
}
public void setProcessingEndTime(Date processingEndTime) {
this.processingEndTime = processingEndTime;
}
public Date getProcessingStartTime() {
return this.processingStartTime;
}
public void setProcessingStartTime(Date processingStartTime) {
this.processingStartTime = processingStartTime;
}
public String getSectionCode() {
return this.sectionCode;
}
public void setSectionCode(String sectionCode) {
this.sectionCode = sectionCode;
}
public String getSourceId() {
return this.sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public String getSourceType() {
return this.sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
}
public String getTenantId() {
return this.tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public List getWorkNos() {
return this.workNos;
}
public void setWorkNos(List workNos) {
this.workNos = workNos;
}
public String getWorkstationCode() {
return this.workstationCode;
}
public void setWorkstationCode(String workstationCode) {
this.workstationCode = workstationCode;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy