package com.jwipc.contract.model.po;

import lombok.Data;

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

/**
 * 功能描述:
 *
 * @Author: zx
 * @Date: 2024/3/7 0007 17:21
 */
@Data
public class ContractDetailPO implements Serializable {

    private Long id;

    private Long contractId;

    private String contractCode;
    private String contractType;
    private String contractTitle;
    private Integer lineNo;

    /**
     * 物料编码
     */
    private String materialCode;

    /**
     * 物料编码
     */
    private String materialName;

    /**
     * 物料组
     */
    private String materialGroupName;

    /**
     * 物料组
     */
    private String materialGroupCode;

    /**
     * 品类
     */
    private String materialCategory;

    /**
     * 规格
     */
    private String materialSpec;

    /**
     * 型号
     */
    private String materialModel;

    /**
     * 品牌
     */
    private String materialBrand;

    /**
     * 单位
     */
    private String basisUnit;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private BigDecimal num;

    /**
     * 税率
     */
    private String taxRateName;

    /**
     * 税率
     */
    private String taxRateCode;

    /**
     * 固定资产卡号
     */
    private String cardNumber;

    /**
     * 备注
     */
    private String bz;

    /**
     * 质保期
     */
    private Integer warrantyPeriod;

    /**
     * 删除标记；0-未删除；1-已删除
     */
    private Integer deleteFlag;

    private String purchaseCode;

    private String itemCode;

    private String factoryCode;

    private String factoryName;

    private String subjectCode;

    private String currencyCode;

    private String purchaseName;


    private String totle;
    private String bidFlag;
    private String customerCode;
    private String customerName;
    private String driverAsset;
    private String teamName;
    private String requireName;
    private String costCenterCode;
    private String costCenterName;

    private String paymentAround;
    private BigDecimal aroundAmount;


    /**
     * 合同金额小写(含税金额)
     */
    private BigDecimal contractAmount;

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

    /**
     * 已申请金额
     */
    private BigDecimal applyAlreadyAmount;

    /**
     * 应付总金额
     */
    private BigDecimal applyAmount;
    /**
     * 付款笔数
     */
    private String paymentStage;

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

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


    private String paymentWay;

    /**
     * 付款前提条件
     */
    private String paymentRequirement;



    /**
     * 付款描述
     */
    private String remark;


}
