package com.jy.business.contract.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jy.framework.model.base.BaseIdPo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 合同到账
 * </p>
 *
 * @author
 * @since 2025-06-11
 */
@Getter
@Setter
@TableName("contract_fund_received")
public class ContractFundReceived extends BaseIdPo {

    /**
     * 合同id
     */
    private Long contractId;

    /**
     * 到账金额
     */
    private BigDecimal receivedAmount;

    /**
     * 资金账号id
     */
    private Long capitalAccountId;

    /**
     * 是否认领
     */
    private Integer hasReceived;

    /**
     * 到账时间
     */
    private Date receivedTime;

    /**
     * 资金流水id
     */
    private Long capitalTransactionsId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

}
