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

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

import javax.persistence.Column;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ljr
 * @date 2020/2/27 10:57
 * @description:
 */
@Data
@ApiModel
public class ApiPolicyResult {

    @ApiModelProperty(value = "id", hidden = true, example = "1")
    @JSONField(serialize = false)
    private Long id;

    @ApiModelProperty(value = "政策id", required = true, example = "1")
    private Long policyId;

    @JSONField(format = "yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime publishDate;

    @ApiModelProperty(value = "政策名称", required = true, example = "")
    private String title;

    @ApiModelProperty(value = "政策详情 ", required = true, example = "")
    private String content;

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

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

    @ApiModelProperty(value = "区域id", required = true, example = "1")
    private Long areaId;

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

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

    @ApiModelProperty(value = "所在区域", required = true, example = "1")
    private String area;

    @ApiModelProperty(value = "标签", required = true)
    List<LabelInfo> labelInfoList;

    @ApiModelProperty(value = "申报人数", required = true, example = "1")
    private Integer applyTotal;


}
