package com.hz.pm.api.filemanage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author CMM
 * @since 2023-06-16
 */
@Data
@TableName("nd_project_apply_borrow")
@ApiModel(value = "NdProjectApplyBorrow对象")
public class ProjectApplyBorrow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("借阅项目ID")
    private Long projectId;

    @ApiModelProperty("申请借阅员工code")
    private String applyBorrowUserId;

    @ApiModelProperty("申请借阅用户任职单位code")
    private String applyBorrowOrgCode;

    @ApiModelProperty("申请借阅审批流程ID")
    private String instanceId;

    @ApiModelProperty("创建人")
    private Long createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createOn;

    @ApiModelProperty("更新人")
    private Long updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateOn;

    @ApiModelProperty("申请借阅是否成功")
    private Boolean isSuccess;
}
