package com.org.hktshop.entity.user;

import com.org.hktshop.base.BaseModel;
import com.org.hktshop.target01.TableField;
import com.org.hktshop.target01.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("hkt_users_score")
public class HktUsersScore extends BaseModel {

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("变更类型（1：积分消费 2：购物消费 3：日常签到 4：完善账户信息）")
    @TableField("alter_type")
    private Integer alterType;

    @ApiModelProperty("积分变动")
    @TableField("score_change")
    private Integer scoreChange;

    @ApiModelProperty("总积分")
    @TableField("total_score")
    private Integer totalScore;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("操作时间")
    @TableField("operation_time")
    private String operationTime;
}
