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

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

import java.time.LocalDateTime;

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

@Data
@ApiModel
public class PolicyResult {

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

	@ApiModelProperty(value = "来源", required = true, example = "")
	private String source;

	@ApiModelProperty(value = "来源类型(1.平台 2.爬虫)", required = true, example = "")
	private Integer sourceType;

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

	@ApiModelProperty(value = "是否推荐至首页(0否 1是)", required = true, example = "")
	private Integer indexType;

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

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

}