package com.sckw.payment.model;

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 java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 结算归档表
* @date 2023-09-13 18:48:30
* @author xucaiqin
*/
@Data
@TableName(value = "kwp_settlement_record")
public class KwpSettlementRecord {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 企业id
     */
    @TableField(value = "ent_id")
    private Long entId;

    /**
     * 总应收金额
     */
    @TableField(value = "total_receive_money")
    private BigDecimal totalReceiveMoney;

    /**
     * 待收金额
     */
    @TableField(value = "exact_money")
    private BigDecimal exactMoney;

    /**
     * 已收金额（累加金额）
     */
    @TableField(value = "received_money")
    private BigDecimal receivedMoney;

    /**
     * 逾期待收金额
     */
    @TableField(value = "overdue_exact_money")
    private BigDecimal overdueExactMoney;

    /**
     * 总应付金额
     */
    @TableField(value = "total_pay_money")
    private BigDecimal totalPayMoney;

    /**
     * 待付金额
     */
    @TableField(value = "unpaid_money")
    private BigDecimal unpaidMoney;

    /**
     * 已付金额（累加金额）
     */
    @TableField(value = "paid_money")
    private BigDecimal paidMoney;

    /**
     * 逾期待付金额
     */
    @TableField(value = "overdue_paid_money")
    private BigDecimal overduePaidMoney;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private LocalDate createTime;

    /**
     * 1-物流 2-贸易
     */
    @TableField(value = "order_type")
    private Integer orderType;
}
