package com.jwipc.sys.entity;

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-27
 */
@Getter
@Setter
@TableName("sys_attachment_type_config")
public class AttachmentTypeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物理主键
     */
    private Long id;

    /**
     * 文件类型编码
     */
    private String code;

    /**
     * 送货单上传；0-否；1-是
     */
    private Integer deliveryOrderFlag;

    /**
     * 境外送货单上传；0-否；1-是
     */
    private Integer overseasDeliveryOrderFlag;

    /**
     * 采购订单上传；0-否；1-是
     */
    private Integer purchaseOrderFlag;

    /**
     * 报关单上传；0-否；1-是
     */
    private Integer customsDeclarationFlag;

    /**
     * 货款匹配单上传；0-否；1-是
     */
    private Integer paymentMatchingFlag;

    /**
     * 货款匹配单带出；0-否；1-是
     */
    private Integer paymentMatchingCreateFlag;

    /**
     * 代管协议上传；0-否；1-是（合同付款申请相关附件上传配置）
     */
    private Integer contractPaymentApplyFlag;

    /**
     * 货款匹配单校验；0-否；1-是
     */
    private Integer paymentMatchingCheckFlag;

    /**
     * 付款通知单上传；0-否；1-是
     */
    private Integer paymentNoticeFlag;

    /**
     * 费用匹配单上传；0-否；1-是
     */
    private Integer costMatchingFlag;

    /**
     * 费用匹配单带出；0-否；1-是
     */
    private Integer costMatchingCreateFlag;

    /**
     * 费用匹配单校验；0-否；1-是
     */
    private Integer costMatchingCheckFlag;

    /**
     * 对账单带出；0-否；1-是
     */
    private Integer accountStatementCreateFlag;

    /**
     * 对账单校验；0-否；1-是
     */
    private Integer accountStatementCheckFlag;

    /**
     * 对账单银行转账或外来对冲(人工检查)校验；0-否；1-是
     */
    private Integer transferAccountStatementCheckFlag;

    /**
     * 对账单承兑汇票(人工检查)校验；0-否；1-是
     */
    private Integer acceptanceAccountStatementCheckFlag;

    /**
     * 对账单带出；0-否；1-是
     */
    private Integer overseasAccountStatementCreateFlag;

    /**
     * 对账单校验；0-否；1-是
     */
    private Integer overseasAccountStatementCheckFlag;

    /**
     * 对账单银行转账(人工检查)校验；0-否；1-是
     */
    private Integer overseasTransferAccountStatementCheckFlag;

    /**
     * 关联方加工费带出；0-否；1-是
     */
    private Integer correlationAccountStatementCreateFlag;
    /**
     * 关联方加工费校验；0-否；1-是
     */
    private Integer correlationAccountStatementCheckFlag;
    /**
     * 关联方加工费人工检查；0-否；1-是
     */
    private Integer correlationAccountStatementManualCheckFlag;
    /**
     * sto加工费带出；0-否；1-是
     */
    private Integer stoAccountStatementCreateFlag;
    /**
     * sto加工费校验；0-否；1-是
     */
    private Integer stoAccountStatementCheckFlag;
    /**
     * sto加工费人工检查；0-否；1-是
     */
    private Integer stoAccountStatementManualCheckFlag;

    /**
     * 开票申请单带出；0-否；1-是
     */
    private Integer invoicedApplyCreateFlag;

    /**
     * 开票申请单校验；0-否；1-是
     */
    private Integer invoicedApplyCheckFlag;

    /**
     * 开票申请单银行转账或外来对冲(人工检查)校验；0-否；1-是
     */
    private Integer transferInvoicedApplyCheckFlag;

    /**
     * 开票申请单承兑汇票(人工检查)校验；0-否；1-是
     */
    private Integer acceptanceInvoicedApplyCheckFlag;

    /**
     * 开票申请单带出；0-否；1-是
     */
    private Integer overseasInvoicedApplyCreateFlag;

    /**
     * 开票申请单校验；0-否；1-是
     */
    private Integer overseasInvoicedApplyCheckFlag;

    /**
     * 开票申请单银行转账(人工检查)校验；0-否；1-是
     */
    private Integer overseasTransferInvoicedApplyCheckFlag;

    /**
     * 预付款单带出；0-否；1-是
     */
    private Integer paymentAdvanceApplyCreateFlag;

    /**
     * 预付款单校验；0-否；1-是
     */
    private Integer paymentAdvanceApplyCheckFlag;

    /**
     * 预付款单带出；0-否；1-是
     */
    private Integer paymentDeliveryAdvanceApplyCreateFlag;

    /**
     * 预付款单校验；0-否；1-是
     */
    private Integer paymentDeliveryAdvanceApplyCheckFlag;

    /**
     * 预付款单带出；0-否；1-是
     */
    private Integer overseasPaymentAdvanceApplyCreateFlag;

    /**
     * 预付款单校验；0-否；1-是
     */
    private Integer overseasPaymentAdvanceApplyCheckFlag;

    /**
     * 费用开票申请人工检查；0-否；1-是
     */
    private Integer costInvoicedApplyCheckFlag;
    private Integer companyInvoicedApplyCheckFlag;

    /**
     * 资产合同付款-非模具预付款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentNoModelOneFlag;
    private Integer contractPaymentNoModelOneCheckFlag;

    /**
     * 资产合同付款-非模具进度款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentNoModelTwoFlag;
    private Integer contractPaymentNoModelTwoCheckFlag;

    /**
     * 资产合同付款-非模具验收款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentNoModelThreeFlag;
    private Integer contractPaymentNoModelThreeCheckFlag;

    /**
     * 资产合同付款-非模具质保款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentNoModelFourFlag;
    private Integer contractPaymentNoModelFourCheckFlag;

    /**
     * 资产合同付款-模具预付款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentModelOneFlag;
    private Integer contractPaymentModelOneCheckFlag;

    /**
     * 资产合同付款-模具进度款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentModelTwoFlag;
    private Integer contractPaymentModelTwoCheckFlag;

    /**
     * 资产合同付款-模具验收款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentModelThreeFlag;
    private Integer contractPaymentModelThreeCheckFlag;

    /**
     * 资产合同付款-模具质保款 0-不上传，1-上传 后面是校验
     */
    private Integer contractPaymentModelFourFlag;
    private Integer contractPaymentModelFourCheckFlag;

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

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

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

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

    /**
     * 删除标记（1：删除，0：未删除））
     */
    private String deleteFlag;

    private Integer contractDeliveryFlag;
    private Integer contractOrderReturnFlag;
}
