package com.izouma.jiashanxia.dto;

import com.izouma.jiashanxia.enums.TransactionType;
import com.izouma.jiashanxia.enums.WithdrawStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "佣金记录", description = "CommissionRecord")
public class CommissionRecordDTO implements Serializable {
    private Long id;

    @ApiModelProperty(value = "用户ID", name = "userId")
    private Long userId;

    @ApiModelProperty(value = "交易类型", name = "transactionType")
    private TransactionType transactionType;

    @ApiModelProperty(value = "交易金额", name = "money")
    private BigDecimal amount;

    private String remark;

    private WithdrawStatus withdrawStatus;

    private LocalDateTime createdAt;

}
