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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.HideColumn;
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-21 10:49:24
 * @author lilin
 */

@Data
@ApiModel
public class PolicyApplyResult {

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

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

	@ApiModelProperty(value = "申报的政策名称", required = true, example = "")
	private String policyName;

	@HideColumn
	@ApiModelProperty(value = "申报人", required = true, example = "")
	private Long memberId;

	@ApiModelProperty(value = "账号", required = true, example = "")
	private String account;

	@ApiModelProperty(value = "昵称", required = true, example = "")
	private String nickName;

	@ApiModelProperty(value = "联系人", required = true, example = "")
	private String contact;

	@ApiModelProperty(value = "手机号码", required = true, example = "")
	private String contactPhone;

	@ApiModelProperty(value = "电子邮箱", required = true, example = "")
	private String email;

	@ApiModelProperty(value = "服务状态(1待受理 2受理中 3服务完成)", required = true, example = "")
	@SelectColumn(options = {"1,待受理", "2,受理中", "3,服务完成"})
	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;

}