package com.sonic.lion.domain.input;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author mzc
 * Date: 2022/4/26 11:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MerchantSubscribeBo {

    @ApiParam(value = "商家订阅价格档位")
    private String priceType;

    @ApiParam(value = "商家订阅操作类型")
    private String optType;

    @ApiParam(value = "商家订阅是否自动续订")
    private Boolean isAutoRenew;

    @ApiModelProperty(value = "如果是订阅，则为订阅开始时间，如果是续订，则为上次的订阅的过期时间")
    private LocalDateTime startTime;

    @ApiModelProperty("是否AI 订阅")
    private Boolean isAiSubscribe;

    @ApiModelProperty("如果是AI 订阅，对应的商家用户id")
    private Long merchantUserId;

    @ApiModelProperty("平台抽成金额")
    private Long systemAmount;

}
