package com.tcm.training.admin.trade.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.math.BigDecimal; import java.time.LocalDateTime; @TableName("tcm_payment_flow") @Getter @Setter @NoArgsConstructor public class PaymentFlow { @TableId(type = IdType.AUTO) private Long id; @TableField("flow_no") private String flowNo; @TableField("business_type") private String businessType; @TableField("business_order_id") private Long businessOrderId; @TableField("business_order_no") private String businessOrderNo; @TableField("flow_type") private String flowType; @TableField("trade_status") private String tradeStatus; @TableField("app_user_id") private Long appUserId; @TableField("user_nickname") private String userNickname; @TableField("user_phone") private String userPhone; @TableField("product_name_snapshot") private String productNameSnapshot; @TableField("payment_method") private String paymentMethod; @TableField("transaction_amount") private BigDecimal transactionAmount; @TableField("third_party_trade_no") private String thirdPartyTradeNo; @TableField("third_party_refund_no") private String thirdPartyRefundNo; private String remark; @TableField("trade_time") private LocalDateTime tradeTime; @TableField("source_type") private String sourceType; @TableField("source_id") private Long sourceId; @TableLogic private Integer deleted; @TableField(value = "created_by", fill = FieldFill.INSERT) private String createdBy; @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE) private String updatedBy; @TableField("created_at") private LocalDateTime createdAt; @TableField("updated_at") private LocalDateTime updatedAt; }