package com.ecep.contract.vo;

import java.io.Serializable;
import java.time.LocalDate;

import com.ecep.contract.model.IdentityEntity;
import com.ecep.contract.model.NamedEntity;

import lombok.Data;

@Data
public class ContractInvoiceVo implements IdentityEntity, NamedEntity, ContractBasedVo, Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String code;
    private String name;
    /**
     * 关联的合同对象, Contract
     */
    private Integer contractId;
    /**
     * 关联的发票对象, Invoice
     */
    private Integer invoiceId;
    /**
     * 发票金额
     */
    private Double amount;

    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    private Integer setupPersonId;
    /**
     * 提交日期
     */
    private LocalDate setupDate;
    /**
     * 更新人
     */
    private Integer updatePersonId;
    /**
     * 更新日期
     */
    private LocalDate updateDate;
}