package com.mzl.flower.entity.point;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.mzl.flower.base.BaseAutoEntity;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
import java.util.Date;
|
|
|
/**
|
* packageName com.mzl.flower.entity.point
|
* @author fanghaowei
|
* @version version2.0
|
* @className CustomerPointDetail
|
* @date 2024/8/29
|
* @description 用户积分统计
|
*/
|
|
@Data
|
@TableName("t_customer_point_detail")
|
public class CustomerPointDetail extends BaseAutoEntity {
|
|
@ApiModelProperty("记录日期")
|
private LocalDate recordDate;
|
|
@ApiModelProperty("用户ID")
|
private String userId;
|
|
@ApiModelProperty("商户ID")
|
private Long customerId;
|
|
@ApiModelProperty("积分变更类型(point_change_type)增加、减少")
|
private String changeType;
|
|
@ApiModelProperty("积分类型:增加(消费获取、活动获取、积分赠送),减少(积分扣减、积分兑换)")
|
private String type;
|
|
@ApiModelProperty("积分变更数量")
|
private Integer point;
|
|
@ApiModelProperty("备注(可记录积分的来源或去向,如订单号、兑换内容、活动名称等)")
|
private String remarks;
|
|
}
|