package com.jwipc.contract.entity;

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

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

/**
 * <p>
 * 付款申请 - 订单明细
 * </p>
 *
 * @author zx
 * @since 2024-04-01
 */
@Getter
@Setter
@TableName("t_contract_pay_order")
public class ContractPayOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orderCode;

    private String bz;

    /**
     * 应付金额
     */
    private BigDecimal enAmount;

    /**
     * 未付金额
     */
    private BigDecimal unAmount;

    /**
     * 本次金额
     */
    private BigDecimal amount;

    /**
     * 使用人
     */
    private String user;

    /**
     * 成本中心
     */
    private String costCenterCode;
    private String costCenterName;

    private Long payId;

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