package com.jwipc.contract.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.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合同收货单表
 * </p>
 *
 * @author qzc
 * @since 2025-12-09
 */
@Getter
@Setter
@TableName("t_contract_delivery")
public class ContractDelivery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 收货单号
     */
    private String deliveryNo;

    /**
     * 收货人工号
     */
    private String receiver;

    /**
     * 收货日期
     */
    private LocalDate deliveryDate;

    /**
     * 单据类型(01 送货、02 退货)
     */
    private String documentType;

    /**
     * 购货方
     */
    private String purchaser;

    /**
     * 供应商
     */
    private String supplier;

    /**
     * 采购组
     */
    private String purchaseGroup;

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

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

    /**
     * 采购方代码
     */
    private String purchaserCode;
    /**
     * 送货方代码
     */
    private String supplierCode;

    /**
     * 收货状态
     */
    private Integer deliveryStatus;

    /**
     * 删除状态(0正常1删除)
     */
    private Integer deleteFlag;
    private Integer syncState;
    private String syncMsg;
    private String syncGxNo;
    private Long createId;
    private Long updateId;
    private String syncGxId;
}
