package com.ytpm.middle.model;

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

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Marx
 * @date 2025/8/5 17:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("应用授权记录表")
public class YtAppGrantRecord {
    @ApiModelProperty("记录ID")
    private String recordId;
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("售价")
    private BigDecimal salePrice;
    @ApiModelProperty("授权类型")
    private Integer grantType;
    @ApiModelProperty("比例")
    private BigDecimal ratio;
    @ApiModelProperty("流量费")
    private BigDecimal dataCharge;
    @ApiModelProperty("授权时间")
    private Date grantTime;
    @ApiModelProperty("操作人ID")
    private String operatorId;
    @ApiModelProperty("操作人姓名")
    private Date operateTime;
}
