package com.fjhx.purchase.entity.purchase.po;

import com.ruoyi.common.core.domain.BasePo;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 采购付款记录
 * </p>
 *
 * @author 
 * @since 2023-05-23
 */
@Getter
@Setter
@TableName("purchase_pay_record_detail")
public class PurchasePayRecordDetail extends BasePo {

    /**
     * 采购id
     */
    @NotEmpty(message = "采购id不能为空")
    private Long purchaseId;

    /**
     * 付款金额
     */
    @NotEmpty(message = "付款金额不能为空")
    private BigDecimal amount;

    /**
     * 付款时间
     */
    private Date payDate;

    /**
     * 付款id 预留字段
     */
    private Long purchasePayRecordId;

}
