package com.casic.missiles.model.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 合同-收款表
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-31
 */
@ApiModel
@Data
@TableName("finance_agreement_payment_info")
public class FinanceAgreementPaymentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(hidden = true)
    @TableId("id")
    private Long id;

    /**
     * 合同id
     */
    @ApiModelProperty(hidden = true)
    @TableField("agreement_id")
    private Long agreementId;

    /**
     * 收款次数
     */
    @ApiModelProperty(value = "收款次数", dataType = "Integer")
    @TableField("payment_num")
    private Integer paymentNum;

    /**
     * 预计收款金额
     */
    @ApiModelProperty(value = "预计收款金额（单位分）", dataType = "Integer")
    @TableField("estimate_payment_amount")
    private Integer estimatePaymentAmount;

    /**
     * 预计收款时间
     */
    @ApiModelProperty(value = "预计收款时间", dataType = "String")
    @TableField("estimate_payment_date")
    private String estimatePaymentDate;

    /**
     * 实际收款金额
     */
    @ApiModelProperty(value = "实际收款金额（单位分）", dataType = "Integer")
    @TableField("actual_payment_amount")
    private Integer actualPaymentAmount;

    /**
     * 实际收款时间
     */
    @ApiModelProperty(value = "实际收款时间", dataType = "String")
    @TableField("actual_payment_date")
    private String actualPaymentDate;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间（列表、详情返回参数）", dataType = "String")
    @TableField("create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("update_time")
    private String updateTime;

}
