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-10-23
 */
@Getter
@Setter
@TableName("fin_payment_matching_receive_voucher_relation")
public class PaymentMatchingReceiveVoucherRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 主表id
     */
    private Long mainId;

    /**
     * 主表流水号
     */
    private String mainCode;

    /**
     * 入库凭证id
     */
    private Long receiveVoucherId;

    /**
     * 工厂编码
     */
    private String factoryCode;

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

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

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

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

    /**
     * 附件
     */
    private String files;

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