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

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

import java.time.LocalDateTime;

/**
 * @date 2020-02-24 12:19:06
 * @author lilin
 */

@Data
@ApiModel
public class PropertyApplyResult {

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

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

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

	@ApiModelProperty(value = "申请原因", required = true, example = "")
	private String reason;

	@ApiModelProperty(value = "资源类型(1.项目资源 2.招聘资源 3.载体资源 )", required = true, example = "")
	@HideColumn
	private Integer resourceType;

	@ApiModelProperty(value = "对象id", required = true, example = "")
	@HideColumn
	private Long targetId;

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

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

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

}