package cn.iocoder.yudao.module.erp.dal.dataobject.finance;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.math.BigDecimal;
|
|
/**
|
* ERP 付款项 DO
|
*
|
* @author 芋道源码
|
*/
|
@TableName("erp_finance_payment_item")
|
@KeySequence("erp_finance_payment_item_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class ErpFinancePaymentItemDO extends BaseDO {
|
|
/**
|
* 入库项编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 付款单编号
|
*
|
* 关联 {@link ErpFinancePaymentDO#getId()}
|
*/
|
private Long paymentId;
|
|
/**
|
* 业务类型
|
*
|
* 枚举 {@link cn.iocoder.yudao.module.erp.enums.common.ErpBizTypeEnum} 的采购入库、退货
|
*/
|
private Integer bizType;
|
/**
|
* 业务编号
|
*/
|
private Long bizId;
|
/**
|
* 业务单号
|
*/
|
private String bizNo;
|
|
/**
|
* 应付金额,单位:分
|
*/
|
private BigDecimal totalPrice;
|
/**
|
* 已付金额,单位:分
|
*/
|
private BigDecimal paidPrice;
|
/**
|
* 本次付款,单位:分
|
*/
|
private BigDecimal paymentPrice;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|