package com.jwipc.finance.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 lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 付款申请回执单
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-12-05
 */
@Getter
@Setter
@TableName("fin_payment_receipt")
public class PaymentReceipt implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 业务类型；202-预付款；201-应付款
     */
    private Integer businessType;

    /**
     * 付款申请id
     */
    private Long mainId;

    /**
     * 付款申请单号
     */
    private String mainCode;

    /**
     * 附件id
     */
    private String fileIds;

    /**
     * 回执单编号/付款单流水
     */
    private String receiptCode;

    /**
     * 创建用户ID
     */
    private Long createUser;

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

    /**
     * 最后更新用户ID
     */
    private Long updateUser;

    /**
     * 最后更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 删除标识 0:未删除 1:已删除
     */
    private Integer deleteFlag;
}
