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

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-04-01
 */
@Data
@TableName("party_activity")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Activity对象", description = "党内活动表")
public class Activity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 活动名称
	*/
		@ApiModelProperty(value = "活动名称")
		private String name;
	/**
	* 活动图片
	*/
		@ApiModelProperty(value = "活动图片")
		private String img;
	/**
	* 活动内容
	*/
		@ApiModelProperty(value = "活动内容")
		private String content;
	/**
	* 活动开始时间
	*/
		@ApiModelProperty(value = "活动开始时间")
		private LocalDateTime beginTime;
	/**
	* 活动结束时间
	*/
		@ApiModelProperty(value = "活动结束时间")
		private LocalDateTime endTime;
	/**
	* 报名截止时间
	*/
		@ApiModelProperty(value = "报名截止时间")
		private LocalDateTime deadlineTime;
	/**
	* 上限报名人数
	*/
		@ApiModelProperty(value = "上限报名人数")
		private Integer peopleCount;
	/**
	* 剩余报名人数
	*/
		@ApiModelProperty(value = "剩余报名人数")
		private Integer remainingCount;
	/**
	* 是否需要验证身份证
	*/
		@ApiModelProperty(value = "是否需要验证身份证")
		private Integer idVerification;
	/**
	* 活动状态
	*/
		@ApiModelProperty(value = "活动状态")
		private Integer activityStatus;
	/**
	* 排序
	*/
		@ApiModelProperty(value = "排序")
		private Integer sort;
	/**
	* 所属党支部
	*/
		@ApiModelProperty(value = "所属党支部")
		private Long branchId;


}
