/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.sing.point.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.gateway.point_gateway.enums.CmccPayStatus;

import java.math.BigDecimal;

/**
 * 移动积分兑换道具记录表实体类
 *
 * @author BladeX
 * @since 2021-11-11
 */
@Data
@TableName("sing_cmcc_point_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CmccPointRecord对象", description = "移动积分兑换道具记录表")
public class CmccPointRecord extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;
	/**
	 * 商户订单号全局唯一
	 */
	@ApiModelProperty(value = "商户订单号全局唯一")
	private String outOrderId;
	/**
	 * 数量
	 */
	@ApiModelProperty(value = "数量")
	private BigDecimal num;
	/**
	 * 移动积分兑换手机号码
	 */
	@ApiModelProperty(value = "移动积分兑换手机号码")
	private String phone;
	/**
	 * 助力道具Id(移动积分兑换，积分赠送)
	 */
	@ApiModelProperty(value = "助力道具Id(移动积分兑换，积分赠送)")
	private Long helpGoodsId;
	/**
	 * 积分(普法积分兑换商品、移动积分兑换道具、普法积分赠送)
	 */
	@ApiModelProperty(value = "积分(普法积分兑换商品、移动积分兑换道具、普法积分赠送)")
	private BigDecimal point;
	/**
	 * 支付状态(普法积分兑换商品、移动积分兑换道具、普法积分赠送)
	 */
	@ApiModelProperty(value = "支付状态")
	private CmccPayStatus payStatus;


}
