package com.jwipc.contract.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2024-03-08
 */
@Data
public class ContractPayStagePO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 合同编码
     */
    private String contractCode;

    /**
     * 付款阶段
     */
    private String paymentStage;

    /**
     * 付款时间
     */
    private LocalDate paymentTime;

    /**
     * 付款比例
     */
    private BigDecimal paymentRatio;

    /**
     * 付款金额
     */
    private BigDecimal paymentAmount;

    /**
     * 已付款金额
     */
    private BigDecimal paymentAlreadyAmount;

    /**
     * 在途付款金额
     */
    private BigDecimal paymentIngAmount;

    /**
     * 未付款金额
     */
    private BigDecimal paymentUnAmount;


    private BigDecimal paymentPlusAmount;

    /**
     * 删除标记；0-未删除；1-已删除
     */
    private Integer deleteFlag ;
    /**
     * 付款描述
     */
    private String remark;
    private String contractCompanyCode;
    private String contractPurchaseGroup;
    private String contractSupplierName;
    private String contractTitle;
    private BigDecimal contractAmount;
    private String orderCode;
    private String contractCurrency;
}
