package easydo.technology.model;

import easydo.technology.annotations.ZSFContainer;
import easydo.technology.annotations.ZSFContainers;
import easydo.technology.annotations.ZSFLinkField;
import easydo.technology.core.ZeroSpringFolder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@ZSFContainers({
        @ZSFContainer(directory = "purchase/contract")
})
public class PurchaseContract extends ZeroSpringFolder<PurchaseContract> {
    @ZSFLinkField
    private String id;
    private String purchaseId;
    private String contractNo;
    private String contractName;
    private String createTime;
    private String supplierId;
    private String supplierNo;
    private String supplierName;
    private Long projectId;
    private BigDecimal signAmount;
    private String endTime;
    private String objectId;
    private String fileName;

}
