package com.sonic.lion.domain.output;

import com.sonic.lion.domain.entity.AppStoreProduct;
import com.sonic.lion.domain.enums.ProductType;
import com.sonic.lion.enums.MemberType;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SubProductListOutput {

    @ApiModelProperty("平台")
    private String platform;

    @ApiModelProperty("产品类型  连续购买订阅 和 非连续")
    private ProductType productType;

    @ApiModelProperty("订阅套餐类型")
    private MemberType memberType;

    @ApiModelProperty("订阅时长")
    private AppStoreProduct.PERIOD period;

    @ApiModelProperty("应用id")
    private String bundleId;

    @ApiModelProperty("内购商品项id")
    private String productId;

    @ApiModelProperty("优惠多少 百分比")
    private String discount;

    @ApiModelProperty("得到的Buff")
    private Long chargeAmount;

    @ApiModelProperty("支付金额")
    private Long payAmount;

    @ApiModelProperty("免费天数")
    private Integer freeDays;

}