package com.rj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * <p>
 * 当天用户交易报表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_daily_user_trade_report")
@Schema(description = "当天用户交易报表")
public class LbDailyUserTradeReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "表ID（UUID）")
    @TableId("id")
    private String id;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private String userId;

    @Schema(description = "昵称")
    @TableField("nickname")
    private String nickname;

    @Schema(description = "昨日买入金额")
    @TableField("yestoday_buy_amt")
    private BigDecimal yestodayBuyAmt;

    @Schema(description = "当日卖出金额")
    @TableField("daily_sell_amt")
    private BigDecimal dailySellAmt;

    @Schema(description = "当日买入金额")
    @TableField("daily_buy_amt")
    private BigDecimal dailyBuyAmt;

    @Schema(description = "服务费金额")
    @TableField("service_amt")
    private BigDecimal serviceAmt;

    @Schema(description = "差额")
    @TableField("diff_amt")
    private BigDecimal diffAmt;

    @Schema(description = "抵扣金额")
    @TableField("dikou_amt")
    private BigDecimal dikouAmt;

    @Schema(description = "实收实付")
    @TableField("actual_receipts_payments")
    private BigDecimal actualReceiptsPayments;

    @Schema(description = "描述")
    @TableField("desc_content")
    private String descContent;

    @Schema(description = "数据类型")
    @TableField("data_type")
    private String dataType;

    @Schema(description = "插入时间")
    @TableField("created_at")
    private LocalDateTime createdAt;

    @Schema(description = "修改时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @Schema(description = "报表日期")
    @TableField("report_date")
    private LocalDateTime reportDate;
}
