package kr.co.uplus.ez.api.riskMgt.dto;

import io.swagger.annotations.ApiModelProperty;
import kr.co.uplus.ez.common.data.ApiResponseCode;
import kr.co.uplus.ez.common.data.ResponseMessage;
import lombok.Data;

import java.io.Serializable;

@SuppressWarnings("serial")
@Data
public class MsgIntrcpListResDto extends ResponseMessage implements Serializable{

	@ApiModelProperty(example = "데이터")
	private MsgIntrcpListRes data;

	public MsgIntrcpListResDto() {
		this.retCode = ApiResponseCode.SUCCESS.getResultCode();
		this.retMsg = ApiResponseCode.SUCCESS.getResultMsg();
	}

	public MsgIntrcpListResDto(ApiResponseCode returnStr) {
		this.retCode = returnStr.getResultCode();
		this.retMsg = returnStr.getResultMsg();
	}

	public MsgIntrcpListResDto(ApiResponseCode returnStr, MsgIntrcpListRes data) {
		this.retCode = returnStr.getResultCode();
		this.retMsg = returnStr.getResultMsg();
		this.data = data;
	}

}
