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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.RichTextColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @date 2020-02-19 15:35:44
 * @author lilin
 */

@Data
@ApiModel
public class PolicyDetailResult {

    @ApiModelProperty(value = "序号", required = true, example = "1")
    private Long id;

    @ApiModelProperty(value = "标签分类", required = true, example = "")
    private List<PolicyLabelResult> labelResults;

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

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

    @ApiModelProperty(value = "区域编号", 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, example = "")
    private String source;

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

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

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

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

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