package com.bonus.material.warehouse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 工地直转信息对象 wh_direct_apply_info
 * 
 * @author xsheng
 * @date 2024-09-27
 */


@Data
@ToString
public class WhDirectApplyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 直转单号（ZZ20240226-1） */
    @Excel(name = "直转单号", readConverterExp = "Z=Z20240226-1")
    private String code;

    /** 退料单位协议 */
    @Excel(name = "退料单位协议")
    @ApiModelProperty(value = "退料单位协议")
    private Long backAgreementId;

    /** 退料人 */
    @Excel(name = "退料人")
    @ApiModelProperty(value = "退料人")
    private String backMan;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String backPhone;

    /** 退料备注 */
    @Excel(name = "退料备注")
    @ApiModelProperty(value = "退料备注")
    private String backRemark;

    /** 领料单位协议 */
    @Excel(name = "领料单位协议")
    @ApiModelProperty(value = "领料单位协议")
    private Long leaseAgreementId;

    /** 领料人 */
    @Excel(name = "领料人")
    @ApiModelProperty(value = "领料人")
    private String leaseMan;

    /** 领料联系电话 */
    @Excel(name = "领料联系电话")
    @ApiModelProperty(value = "领料联系电话")
    private String leasePhone;

    /** 领料备注 */
    @Excel(name = "领料备注")
    @ApiModelProperty(value = "领料备注")
    private String leaseRemark;

    /** 直转附件 */
    @Excel(name = "直转附件")
    @ApiModelProperty(value = "直转附件")
    private String dirUrl;

    /** 0待审批1审批同意2驳回 */
    @Excel(name = "0待审批1审批同意2驳回")
    @ApiModelProperty(value = "0待审批1审批同意2驳回")
    private String status;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty(value = "审核人")
    private String auditor;

    /** 审核时间 */
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 审核备注 */
    @Excel(name = "审核备注")
    @ApiModelProperty(value = "审核备注")
    private String auditRemark;


}
