package org.springblade.flow.shop.entity;

import lombok.*;

/**
 * @author: lianghanqiang
 * @description: 入驻通知回调信息
 * @since: 9/6/21 -- 6:52 PM
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class InvitationCallbackData {

	//商户入网请求号，由商户自定义生成
	private String requestNo;

	//入网申请单编号
	private String applicationNo;

	//入网生成的易宝内部商户编号
	private String merchantNo;

	//REVIEW_BACK(申请已驳回),AGREEMENT_SIGNING(协议待签署),COMPLETED(申请已完成)
	private String applicationStatus;

	//当申请状态为“协议待签署”时，回调给商户该协议签署地址
	private String agreementSignUrl;

	//“申请已驳回”或者“申请已完成”时，回传的审核意见
	private String auditOpinion;

	@Getter
	public enum applicationStatusType{
		REVIEW_BACK,//(申请已驳回),
		AGREEMENT_SIGNING,//(协议待签署),
		COMPLETED,//(申请已完成)
	}
}
