package com.ruoyi.interfaces.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * entity:PtServiceApply
 *
 * @author weking
 * @date 2019-4-25
 */
@Data
public class PtServiceApply implements Serializable {
    private String id;
    @ApiModelProperty("接口名称")
    private String name;
    @ApiModelProperty("公司名称")
    private String unitName;
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("服务ID")
    private String srvId;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("申请时间")
    private Date applyTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("到期时间")
    private Date applyExpire;
    @ApiModelProperty("申请说明")
    private String applyNote;
    @ApiModelProperty("申请人")
    private String userName;
    @ApiModelProperty("是否通过")
    private String applyState;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("审核时间")
    private Date approveTime;
    @ApiModelProperty("审核人")
    private String approveUser;
    @ApiModelProperty("审核说明")
    private String approveNote;
    @ApiModelProperty("文件列表")
    private List<PtFile> fileList;
}
