package com.xxfc.platform.activity.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 推广活动项，一个活动对应多个项
 * 
 * @author libin
 * @email 18178966185@163.com
 * @date 2019-07-05 15:23:04
 */
@Data
@Table(name = "activity_popularize_item")
public class ActivityPopularizeItem implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    /**
    *  主键
   */
    @Id
	@GeneratedValue(generator = "JDBC")
	@ApiModelProperty("主键")
    private Integer id;
	
	    /**
     *  创建时间
     */
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间", hidden = true )
    private Long crtTime;
	
	    /**
     *  更新时间
     */
    @Column(name = "upd_time")
	@ApiModelProperty(value = "更新时间", hidden = true )
    private Long updTime;
	
	    /**
     *  名称
     */
    @Column(name = "name")
	@ApiModelProperty(value = "名称")
    private String name;
	
	    /**
     *  描述、详情等（看情况使用）
     */
    @Column(name = "descr")
	@ApiModelProperty(value = "描述、详情等（看情况使用）")
    private String descr;
	
	    /**
     *  推广活动id
     */
    @Column(name = "popularize_id")
	@ApiModelProperty(value = "推广活动id")
    private Integer popularizeId;
	
	    /**
     *  当前项代表的进度
     */
    @Column(name = "progress")
	@ApiModelProperty(value = "当前项代表的进度")
    private Integer progress;
	
	    /**
     *  1--领取任务；2--分享；3--推荐个数
     */
    @Column(name = "type")
	@ApiModelProperty(value = "1--领取任务；2--分享；3--推荐个数")
    private Integer type;

	/**
	 *  排序
	 */
	@Column(name = "sort")
	@ApiModelProperty(value = "排序")
	private Integer sort;

	/**
	 *  详情内容，用于存储对应任务的一些值
	 */
	@Column(name = "detail")
	@ApiModelProperty(value = "详情内容，用于存储对应任务的一些值")
	private String detail;
}
