package com.lxzn.framework.domain.plm.ext;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.lxzn.framework.domain.plm.QueryNcProgramLog;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import lombok.extern.slf4j.Slf4j;
|
|
import java.util.List;
|
|
/**
|
* @author clown
|
* * @date 2022/10/10
|
*/
|
@Data
|
@NoArgsConstructor
|
@Slf4j
|
@JsonIgnoreProperties(ignoreUnknown = false)
|
public class PlmLogResult {
|
@JsonProperty("code")
|
@JSONField(name = "code")
|
private Integer code;
|
@JsonProperty("message")
|
@JSONField(name = "message")
|
private String message;
|
@JsonProperty("response")
|
@JSONField(name = "response")
|
private List<QueryNcProgramLog> response;
|
|
public PlmLogResult(Integer code, String message, List<QueryNcProgramLog> response) {
|
this.code = code;
|
this.message = message;
|
this.response = response;
|
}
|
|
@Override
|
public String toString() {
|
return "PlmLogResult{" +
|
"code='" + code + '\'' +
|
", message='" + message + '\'' +
|
", response=" + response +
|
'}';
|
}
|
|
}
|