/*
 *      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.modules.guosen.userPointsGoods.entity;

import java.math.BigDecimal;

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

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-06-28
 */
@Data
@TableName("cyzh_user_points_goods")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserPointsGoods对象", description = "UserPointsGoods对象")
public class UserPointsGoods extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;
	/**
	 * 积分商场物品id
	 */
	@ApiModelProperty(value = "积分商场物品id")
	private Long pointsGoodsId;
	/**
	 * 活动id
	 */
	@ApiModelProperty(value = "活动id")
	private Long activityId;
	/**
	 * 用户地址id
	 */
	@ApiModelProperty(value = "用户地址id")
	private Long addressId;
	/**
	 * 0:待发货 1：已发货 2已完成
	 */
	@ApiModelProperty(value = "0:待发货 1：已发货 2已完成")
	private Integer pointsGoodsStatus;
	/**
	 * 物品名称
	 */
	@ApiModelProperty(value = "物品名称")
	private String name;
	/**
	 * 物品图片
	 */
	@ApiModelProperty(value = "物品图片")
	private String image;
	/**
	 * 价格
	 */
	@ApiModelProperty(value = "价格")
	private BigDecimal price;
	/**
	 * 消耗的积分值
	 */
	@ApiModelProperty(value = "消耗的积分值")
	private BigDecimal pointsValue;
	/**
	 * 消耗的热力值
	 */
	@ApiModelProperty(value = "消耗的热力值")
	private BigDecimal hotValue;
	/**
	 * 消耗的现金
	 */
	@ApiModelProperty(value = "消耗的现金")
	private BigDecimal cashValue;
	/**
	 * 快递单号
	 */
	@ApiModelProperty(value = "快递单号")
	private String trackingNumber;
	/**
	 * 快递名
	 */
	@ApiModelProperty(value = "快递名")
	private String trackingName;
}
