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

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

import java.time.LocalDateTime;

/**
 * @author lilin
 * @date 2020/2/26 16:53
 */
@Data
@ApiModel
public class PropertyApplyResult {

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

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

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

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

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

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

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

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

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

}
