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

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

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

	private static final long serialVersionUID = 1L;

	/**
	* 活动标题
	*/
		@ApiModelProperty(value = "活动标题")
		private String title;
	/**
	* 活动地址
	*/
		@ApiModelProperty(value = "活动地址")
		private String address;
	/**
	* 供应价(百分比)
	*/
		@ApiModelProperty(value = "供应价(百分比)")
		private BigDecimal supplyPrice;
	/**
	* 标签id集合
	*/
		@ApiModelProperty(value = "标签id集合")
		private String labelIds;
	/**
	* 标签名称集合
	*/
		@ApiModelProperty(value = "标签名称集合")
		private String labelNames;
	/**
	* 活动开始时间
	*/
		@ApiModelProperty(value = "活动开始时间")
		private LocalDateTime beginTime;
	/**
	* 活动结束时间
	*/
		@ApiModelProperty(value = "活动结束时间")
		private LocalDateTime endTime;
	/**
	* 活动详情
	*/
		@ApiModelProperty(value = "活动详情")
		private String detail;
	/**
	* 活动补贴（折扣百分比）
	*/
		@ApiModelProperty(value = "活动补贴（折扣百分比）")
		private BigDecimal subsidy;
	/**
	* 百积分兑换的价值（单位：元）
	*/
		@ApiModelProperty(value = "百积分兑换的价值（单位：元）")
		private BigDecimal hundredPointValue;
	/**
	* 发起者类型: 1-商场 2-商户
	*/
		@ApiModelProperty(value = "发起者类型: 1-商场 2-商户")
		private Integer sponsorType;
	/**
	* 发起者id
	*/
		@ApiModelProperty(value = "发起者id")
		private Long sponsorId;

	/**
	 * 发起者姓名
	 */
	@ApiModelProperty(value = "发起者姓名")
	private String sponsorName;
	/**
	* 审核状态 ： 0-待审核 1-审核通过 2-审核不通过
	*/
		@ApiModelProperty(value = "审核状态 ： 0-待审核 1-审核通过 2-审核不通过 3-停用")
		private Integer auditStatus;
	/**
	* 审核意见
	*/
		@ApiModelProperty(value = "审核意见")
		private String auditAdvice;

	/**
	 * 商场id
	 */
	@ApiModelProperty(value = "商场id")
	private Long mallId;
	/**
	 * 海报图
	 */
	@ApiModelProperty(value = "海报图")
	private String pic;


}
