package com.cyl.manager.ums.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;
/**
 * 积分集点明细对象 ums_member_point_history
 * 
 * @author daixiande
 */
@ApiModel(description="积分集点明细对象")
@Data
@TableName("ums_member_point_history")
public class MemberPointHistory implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** MEMBER_ID */
    @Excel(name = "MEMBER_ID")
    private Long memberId;

    /** POINT 积分数量(正数表示增加，负数表示减少) */
    @Excel(name = "point")
    private BigDecimal point;

    /** TYPE
     * 集点:gather、积分：point
     *
     * */
    @Excel(name = "type")
    private String type;

    /** TRANSACTION_ID */
    @Excel(name = "transaction_id")
    private Long transactionId;

    /** DESCRIPTION */
    @Excel(name = "description")
    private String description;

    /** ACTION 类型（1 表示增加，2 表示减少）*/
    @Excel(name = "action")
    private String action;

    /** POINT_AFTER */
    @Excel(name = "point_after")
    private BigDecimal pointAfter;

    /** POINT_BEFORE */
    @Excel(name = "point_before")
    private BigDecimal pointBefore;

    /** CREATE_AT */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "create_at", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createAt;

}
