StateActionDTO.java

package com.tradecloud.dto.api;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class StateActionDTO {
    @ApiModelProperty(required = true, notes = "reference of main entity being transition")
    private String reference;
    private String stateAction;
    private String reason;
    private String instruction;
    private Date stateDate;

    public String getReference() {
        return reference;
    }

    public StateActionDTO() {
    }

    public StateActionDTO(String reference, String stateAction) {
        this.reference = reference;
        this.stateAction = stateAction;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public String getStateAction() {
        return stateAction;
    }

    public void setStateAction(String stateAction) {
        this.stateAction = stateAction;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getInstruction() {
        return instruction;
    }

    public void setInstruction(String instruction) {
        this.instruction = instruction;
    }

    public Date getStateDate() {
        return stateDate;
    }

    public void setStateDate(Date stateDate) {
        this.stateDate = stateDate;
    }
}