package com.yami.shop.distribution.comment.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("分销员收入数据")
public class DistributionUserIncomeDto {

    @ApiModelProperty("收入类型(0其他、1一代奖励、2二代奖励、3邀请奖励 )")
    private Integer incomeType;

    @ApiModelProperty("佣金数额")
    private Double incomeAmount;

    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("佣金状态(0:待支付、1:待结算、2:已结算、-1:订单失效)")
    private Integer state;
}
