package com.ytpm.middle.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("授权app企业入参")
public class GrantAppParam {
    /** 应用ID */
    @ApiModelProperty(value = "应用ID",required = true)
    private String appId;
    /** 信用代码 */
    @ApiModelProperty(value = "信用代码",required = true)
    private String creditCode;
    /** 操作用户ID */
    @ApiModelProperty(value = "操作用户ID", hidden = true)
    private String userId;
    @ApiModelProperty(value = "授权类型", required = true)
    private Integer grantType;
    @ApiModelProperty("比例")
    private BigDecimal ratio;
    @ApiModelProperty("流量费")
    private BigDecimal dataCharge;
}
