package com.softwarebr.nunu.json.api.train;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 创新培训活动
 * @author lilin
 * @date 2020-03-11 13:44:00
 */
@Data
@ApiModel
public class ActivityResult {

    @ApiModelProperty(value = "活动Id", required = true, example = "1")
    private Long id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "发布者", required = true, example = "1")
    private Long publisher;

    @ApiModelProperty(value = "活动名称", required = true, example = "")
    private String name;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报名开始时间", required = true, example = "")
    private LocalDateTime signStartDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报名结束时间", required = true, example = "")
    private LocalDateTime signEndDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动开始时间", required = true, example = "")
    private LocalDateTime startDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动结束时间", required = true, example = "")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "活动价格（-1免费)", required = true, example = "")
    private BigDecimal price;

    @ApiModelProperty(value = "省份编号", required = true, example = "")
    private Long provinceId;

    @ApiModelProperty(value = "城市编号", required = true, example = "")
    private Long cityId;

    @ApiModelProperty(value = "区县编号", required = true, example = "")
    private Long areaId;

    @ApiModelProperty(value = "省份", required = true, example = "")
    private String province;

    @ApiModelProperty(value = "城市", required = true, example = "")
    private String city;

    @ApiModelProperty(value = "区县", required = true, example = "")
    private String area;

    @ApiModelProperty(value = "上线人数", required = true, example = "")
    private Integer capacity;

    @ApiModelProperty(value = "已报名人数", required = true, example = "")
    private Integer enrolment;

    @ApiModelProperty(value = "活动类别 1.创新活动 2.培训活动", required = true, example = "")
    private Integer category;

    @ApiModelProperty(value = "活动类别", required = true, example = "")
    private String categoryName;

    @ApiModelProperty(value = "活动类型(创新->1.沙龙会2.论坛3.讲座4.项目路演5.创新创业大赛6.私董会7.分享会 培训->1.讲座2.培训班3.研修班)", required = true, example = "")
    private Integer type;

    @ApiModelProperty(value = "活动类型", required = true, example = "")
    private String typeName;

    @ApiModelProperty(value = "封面图", required = true, example = "")
    private String coverUri;

    @ApiModelProperty(value = "活动状态", required = true, example = "活动预热中")
    private String activityStatusName;

    @ApiModelProperty(value = "活动状态1.活动预热中2.报名中3.报名时间截止4.已爆满5.进行中.已结束7.已结束-活动回顾", required = true, example = "1")
    private Integer activityStatus;

    @ApiModelProperty(value = "审核状态(1待审核2审核通过3审核不通过)", required = true, example = "")
    private Integer verify;

    @ApiModelProperty(value = "审核备注", required = true, example = "")
    private String verifyRemark;

    @ApiModelProperty(value = "审核时间", required = true, example = "")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime verifyDate;

    @ApiModelProperty(value = "活动总结状态(1未总结2已总结)", required = true, example = "")
    private Integer summaryStatus;

    @ApiModelProperty(value = "是否上架(0下架 1上架) ", required = true, example = "")
    private Integer status;
}
