package com.nova.sankuai.domain.dto.zhongzan;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
|
@ApiModel(value = "统一请求参数DTO")
|
@Data
|
public class RequestDTO {
|
|
@ApiModelProperty(value = "众攒方提供给贵方的唯一标识", required = true, example = "test")
|
@NotBlank(message = "唯一标识不能为空")
|
private String channel;
|
|
@ApiModelProperty(value = "签名", required = true, example = "test")
|
@NotBlank(message = "签名不能为空")
|
private String sign;
|
|
@ApiModelProperty(value = "时间戳", required = true, example = "1604649555")
|
@NotBlank(message = "时间戳不能为空")
|
private String t;
|
|
@ApiModelProperty(value = "aes后业务数据", example = "业务数据")
|
private String params;
|
|
@ApiModelProperty(value = "使用RSA公钥 加密 “AES秘钥” 得到 key", required = true)
|
@NotBlank(message = "加密密钥不能为空")
|
private String key;
|
}
|