package com.jeeplus.test.finance.invoice.service.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 财务管理-发票-收款明细
 * @TableName finance_invoice_receivables
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FinanceInvoiceReceivablesDTO extends BaseDTO {

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 发票id
     */
    private String invoiceId;

    /**
     * 汇款单位
     */
    private String remittanceUnit;

    /**
     * 汇款金额
     */
    private String remittanceAmount;

    /**
     * 汇款时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date remittanceDate;

    /**
     * 是否收款
     */
    private String status;

    private static final long serialVersionUID = 1L;
}