/*
 *      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.ldt.activityjoinrecord.entity;

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;

import java.math.BigDecimal;

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

	private static final long serialVersionUID = 1L;

	/**
	* 活动id
	*/
		@ApiModelProperty(value = "活动id")
		private Long activityId;
	/**
	* 参与者类型： 1-商场 2-商户
	*/
		@ApiModelProperty(value = "参与者类型： 1-商场 2-商户")
		private Integer joinType;
	/**
	* 参与者id
	*/
		@ApiModelProperty(value = "参与者id")
		private Long joinId;

	/**
	 * 参与者logo
	 */
	@ApiModelProperty(value = "参与者logo")
	private String joinPic;
	/**
	 * 参与者名称
	 */
	@ApiModelProperty(value = "参与者名称")
	private String joinName;

	/**
	 * 初始供应价（活动id的供应价,百分比）
	 */
	@ApiModelProperty(value = "初始供应价（活动id的供应价,百分比）")
	private BigDecimal initSupplyPrice;

	/**
	 * 追加的折扣，折上折（百分比）
	 */
	@ApiModelProperty(value = "追加的折扣，折上折（百分比）")
	private BigDecimal appendSupplyPrice;

	/**
	 * 最终的折扣（百分比）
	 */
	@ApiModelProperty(value = "最终的折扣（百分比）")
	private BigDecimal finalSupplyPrice;

	/**
	 * 国信活动服务费率(百分比)
	 */
	@ApiModelProperty(value = "国信活动服务费率")
	private BigDecimal gxRewardSupply;

	/**
	 * 审核状态
	 */
	@ApiModelProperty(value = "审核状态")
	private Integer auditStatus;


}
