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;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_deduction_amount")
@Schema(description = "抵扣金记录表")
public class LbDeductionAmount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @Schema(description = "主键，UUID")
    private String id;

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

    @TableField("user_name")
    @Schema(description = "用户姓名")
    private String userName;

    @TableField("user_phone")
    @Schema(description = "用户电话")
    private String userPhone;

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

    @TableField("tixian_amt")
    @Schema(description = "提现金额")
    private BigDecimal tixianAmt;

    @TableField("original_text")
    @Schema(description = "原始文本信息")
    private String originalText;

    @TableField("create_time")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField("update_time")
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}
