|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | import io.swagger.annotations.ApiParam; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import lombok.EqualsAndHashCode; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestParam; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.io.Serializable; | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  | import java.time.LocalDateTime; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * <p> | 
|---|
|  |  |  | 
|---|
|  |  |  | @TableId("id") | 
|---|
|  |  |  | private Long id; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "变动类型(1=消费积分,2=返佣积分,3=拉新人积分,4=兑换商品 5 = 门店业绩积分 6 =门店返佣积分7=技师业绩积分8 =转赠积分 9 =做工积分 10 =注册积分)") | 
|---|
|  |  |  | @ApiModelProperty(value = "变动类型(1-消费,2-返佣,3-拉新,4-每日分享,5-每日签到,6-使用时长, 7-注册积分, 8-门店业绩," + | 
|---|
|  |  |  | "9-门店返佣,14-下级门店返佣,10-技师业绩,11-兑换商品,12-他人赠送,13-赠与他人,15-兑换券)") | 
|---|
|  |  |  | @TableField("type") | 
|---|
|  |  |  | private Integer type; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "历史余额") | 
|---|
|  |  |  | @TableField("historical_point") | 
|---|
|  |  |  | private BigDecimal historicalPoint; | 
|---|
|  |  |  | private Integer historicalPoint; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "变动金额") | 
|---|
|  |  |  | @TableField("variable_point") | 
|---|
|  |  |  | private BigDecimal variablePoint; | 
|---|
|  |  |  | private Integer variablePoint; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "变动后余额") | 
|---|
|  |  |  | @TableField("balance") | 
|---|
|  |  |  | private Integer balance; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "变动时间") | 
|---|
|  |  |  | @TableField("create_time") | 
|---|
|  |  |  | 
|---|
|  |  |  | @TableField("object_id") | 
|---|
|  |  |  | private Long objectId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "拓展字段") | 
|---|
|  |  |  | @TableField("extention") | 
|---|
|  |  |  | private String extention; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "用户名称") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String userName; | 
|---|
|  |  |  | @ApiModelProperty(value = "变动类型 0未变化1增加2减少") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Integer variableType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "联系电话") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String phone; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "开始时间") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | private LocalDateTime startTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "结束时间") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | private LocalDateTime endTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private List<Long> userIds; | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Integer pageNum; | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Integer pageSize; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|