package cn.superdesk.uniorder.dto.param.invoice.customer.invoiced;

import cn.superdesk.uniorder.common.excel.model.ExcelRow;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

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

/**
 * 应收账款-回款操作日志-操作留痕
 * InvoiceInvoicedOperationLogCommonForm
 *
 * @author linjinyu
 * @email linjinyu@avic-s.com
 * @date 2021-07-28 15:28:43
 */
@Data
@ToString
public class InvoiceInvoicedBackCollectionOperationLogParam extends ExcelRow implements Serializable {


	@ApiModelProperty("操作时间 为什么不叫 operation_time 问号, 问就是不要问")
	private Date       createTime;
	@ApiModelProperty("操作人 sysUserId")
	private Long       createUserId;
	@ApiModelProperty("操作人 sysUserName")
	private String     createUserName;
	@ApiModelProperty("只要加字段而已-不在本此需求内-合计金额 eg ￥3,126.11")
	private BigDecimal totalAmount;
	@ApiModelProperty("只要加字段而已-不在本此需求内-税率 eg 0.13")
	private BigDecimal taxRate;
	@ApiModelProperty("只要加字段而已-不在本此需求内-合计税额 eg ￥406.39")
	private BigDecimal totalTax;
	@ApiModelProperty("原本记录的-含税总金额 eg ￥3,532.50")
	private BigDecimal totalAmountIncludingTax;
	@ApiModelProperty("原本记录的-实际应收金额 如果没有红冲 此值等于发票金额 含税金额(total_amount_including_tax)")
	private BigDecimal receivableAmount;
	@ApiModelProperty("原本记录的-已回款金额")
	private BigDecimal backCollectionAmountAlready;
	@ApiModelProperty("原本记录的-待回款金额")
	private BigDecimal backCollectionAmountWaitFor;
	@ApiModelProperty("本次操作填充的-回款时间 eg 2021-03-03 10:02:34")
	private Date       backCollectionTime;
	@ApiModelProperty("本次操作填充的-回款金额")
	private BigDecimal backCollectionAmount;


}
