AddedCommentsLinkDTO.java
package com.tradecloud.dto.api;
import com.tradecloud.dto.api.shipment.AddedCommentDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
@ApiModel(description = "Use for adding/deleting comments ")
public class AddedCommentsLinkDTO {
@ApiModelProperty(required = true,notes = "entity reference for to add/delete comments ")
private String reference;
@ApiModelProperty(required = true,notes = "shipment reference, required when dealing with container/subshipment")
private String masterReference;
@ApiModelProperty(notes = "list of comments to add/delete")
List<AddedCommentDTO> addedCommentDTOS;
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public List<AddedCommentDTO> getAddedCommentDTOS() {
return addedCommentDTOS;
}
public void setAddedCommentDTOS(List<AddedCommentDTO> addedCommentDTOS) {
this.addedCommentDTOS = addedCommentDTOS;
}
public String getMasterReference() {
return masterReference;
}
public void setMasterReference(String masterReference) {
this.masterReference = masterReference;
}
}