package com.bonus.material.materialStation.domain;

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

import java.util.Date;
import java.util.List;

/**
 * 项目部授权信息
 *
 * @author hay
 */
@Data
public class ProAuthorizeInfo {
    private Long id;

    private Long authId;

    /**
     * 领料id
     */
    private Long leaseId;

    private Long[] leaseIds;

    /**
     * 班组id
     */
    private Long teamId;

    /**
     * 班组名称
     */
    private String teamName;

    /**
     * 委托书路径
     */
    private String url;

    private String fileName;

    /**
     * 状态
     */
    private String status;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改时间
     */
    private String updateTime;

    private List<ProAuthorizeDetails> detailsList;

    /**
     * 关联外部(第三方)的工程ID
     */
    private String externalId;

    private String leaseUnit;

    private String leaseProject;

    private String userName;

    private String leaseSignUrl;

    private Byte leaseSignType;

    private String signStatus;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    private String keyWord;

    private String code;
}
