package com.yunzhupaas.cm.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
import java.math.BigDecimal;
import java.math.BigDecimal;
/**
 * 合同付款计划
 *
 * @版本： V5.2.7
 * @版权： Copyright @ 2025  深圳市乐程软件有限公司版权所有
 * @作者： 深圳市乐程软件有限公司
 * @日期： 2026-05-20
 */
@Data
@TableName("cm_payment_plan")
public class PaymentPlanEntity  {
    @TableId(value ="payment_plan_id"  )
    @JSONField(name = "payment_plan_id")
    private String paymentPlanId;
    @TableField("contract_id")
    @JSONField(name = "contract_id")
    private String contractId;
    @TableField(value = "plan_seq_num" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "plan_seq_num")
    private Integer planSeqNum;
    @TableField(value = "billing_item_id" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "billing_item_id")
    private String billingItemId;
    @TableField(value = "payment_name" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "payment_name")
    private String paymentName;
    @TableField(value = "payment_condition" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "payment_condition")
    private String paymentCondition;
    @TableField(value = "payment_ratio" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "payment_ratio")
    private BigDecimal paymentRatio;
    @TableField(value = "payment_amount" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "payment_amount")
    private BigDecimal paymentAmount;
    @TableField(value = "plan_date" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "plan_date")
    private Date planDate;
    @TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "remark")
    private String remark;
    @TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "f_tenant_id")
    private String tenantId;

}
