diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileTypeLocalVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileTypeLocalVo.java new file mode 100644 index 0000000..022c051 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileTypeLocalVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.CompanyCustomerFileType; +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class CompanyCustomerFileTypeLocalVo implements IdentityEntity { + private Integer id; + private String name; + private CompanyCustomerFileType value; + private Integer orderNum = 0; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileVo.java new file mode 100644 index 0000000..7f20b56 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerFileVo.java @@ -0,0 +1,18 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.CompanyCustomerFileType; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class CompanyCustomerFileVo implements IdentityEntity { + private Integer id; + private Integer customerId; + private String customerName; + private CompanyCustomerFileType type; + private String filePath; + private String editFilePath; + private LocalDate signDate; + private boolean valid = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyCustomerVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerVo.java new file mode 100644 index 0000000..c173853 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyCustomerVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.Instant; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class CompanyCustomerVo implements IdentityEntity { + private Integer id; + private Integer companyId; + private String companyName; + private LocalDate developDate; + private String path; + private Integer companyContactId; + private String contactName; + private String contactPhone; + private String contactEmail; + private String description; + private Instant created; + private int version; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyExtendInfoVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyExtendInfoVo.java new file mode 100644 index 0000000..a836f38 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyExtendInfoVo.java @@ -0,0 +1,13 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class CompanyExtendInfoVo implements IdentityEntity { + private Integer id; + private Integer companyId; + private String companyName; + private boolean disableVerify = false; + private int version = 0; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyFileTypeLocalVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyFileTypeLocalVo.java new file mode 100644 index 0000000..2a11034 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyFileTypeLocalVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.CompanyFileType; +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class CompanyFileTypeLocalVo implements IdentityEntity { + private Integer id; + private String name; + private CompanyFileType value; + private Integer orderNum = 0; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyFileVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyFileVo.java new file mode 100644 index 0000000..601ebfe --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyFileVo.java @@ -0,0 +1,21 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; + +import com.ecep.contract.CompanyFileType; +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +@Data +public class CompanyFileVo implements IdentityEntity { + + private Integer id; + private Integer companyId; + private String companyName; + private CompanyFileType type; + private LocalDate applyDate; + private LocalDate expiringDate; + private String filePath; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyInvoiceInfoVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyInvoiceInfoVo.java new file mode 100644 index 0000000..cbf5a58 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyInvoiceInfoVo.java @@ -0,0 +1,19 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class CompanyInvoiceInfoVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private Integer companyId; + private String companyName; + private String taxId; + private String address; + private String phone; + private String bankName; + private String bankAccount; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyOldNameVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyOldNameVo.java new file mode 100644 index 0000000..41ac854 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyOldNameVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; + +import lombok.Data; + +@Data +public class CompanyOldNameVo implements IdentityEntity, NamedEntity { + private Integer id; + private Integer companyId; + private String name; + private LocalDate beginDate; + private LocalDate endDate; + private boolean ambiguity = false; + private String path; + private String memo; + private int version; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedFileVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedFileVo.java new file mode 100644 index 0000000..aaac73a --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedFileVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class CompanyVendorApprovedFileVo implements IdentityEntity { + private Integer id; + private Integer listId; + private String listName; + private String fileName; + private LocalDate signDate; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedItemVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedItemVo.java new file mode 100644 index 0000000..7e99758 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedItemVo.java @@ -0,0 +1,21 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.VendorType; +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +/** + * 供应商审批项目VO类 + */ +@Data +public class CompanyVendorApprovedItemVo implements IdentityEntity { + private Integer id; + private Integer listId; + private String listName; + private String vendorName; + private Integer vendorId; + private String vendorNameInfo; + private VendorType type; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedListVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedListVo.java new file mode 100644 index 0000000..d985790 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorApprovedListVo.java @@ -0,0 +1,19 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; + +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +/** + * 合格供应商名录VO类 + */ +@Data +public class CompanyVendorApprovedListVo implements IdentityEntity { + private Integer id; + private String title; + private LocalDate publishDate; + private String path; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorEntityVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorEntityVo.java new file mode 100644 index 0000000..7f11c79 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorEntityVo.java @@ -0,0 +1,31 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; +import java.time.LocalDateTime; + +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +/** + * 供应商的关联详细项VO类 + */ +@Data +public class CompanyVendorEntityVo implements IdentityEntity { + private Integer id; + private Integer vendorId; + private String vendorName; + private String name; + private String abbName; + private String code; + private Integer catalogId; + private String catalogName; + private Integer creatorId; + private String creatorName; + private Integer modifierId; + private String modifierName; + private LocalDate modifyDate; + private LocalDate developDate; + private LocalDate updatedDate; + private LocalDateTime fetchedTime; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorFileVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorFileVo.java new file mode 100644 index 0000000..e7fb11d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorFileVo.java @@ -0,0 +1,23 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; + +import com.ecep.contract.VendorFileType; +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +/** + * 供应商的文件VO类 + */ +@Data +public class CompanyVendorFileVo implements IdentityEntity { + private Integer id; + private Integer vendorId; + private String vendorName; + private VendorFileType type; + private String filePath; + private String editFilePath; + private LocalDate signDate; + private boolean valid = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVendorVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVendorVo.java new file mode 100644 index 0000000..d222d1a --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVendorVo.java @@ -0,0 +1,26 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.VendorType; +import com.ecep.contract.model.IdentityEntity; +import java.time.Instant; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class CompanyVendorVo implements IdentityEntity { + private Integer id; + private VendorType type; + private boolean protocolProvider = false; + private Integer companyId; + private String companyName; + private Integer catalogId; + private String catalogName; + private LocalDate developDate; + private String path; + private Integer contactId; + private String contactName; + private String purchase; + private String description; + private Instant created; + private int version; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CompanyVo.java b/common/src/main/java/com/ecep/contract/vo/CompanyVo.java new file mode 100644 index 0000000..ab7d764 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CompanyVo.java @@ -0,0 +1,43 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class CompanyVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String uniscid; + private String shortName; + private boolean pathExist = false; + private String path; + private LocalDate created; + private String entStatus; + private String entType; + private String district; + private String industry; + private String telephone; + private String regAddr; + private String address; + private LocalDate setupDate; + private LocalDate operationPeriodBegin; + private LocalDate operationPeriodEnd; + private String registeredCapital; + private String registeredCapitalCurrency; + private String legalRepresentative; + private String memo; + private int version; + + // 保留的额外字段 + private String registerAddress; + private String businessScope; + private String legalPerson; + private String legalPersonPhone; + private String contactPerson; + private String contactPhone; + private String contactEmail; + private String website; + private String remark; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractBidVendorVo.java b/common/src/main/java/com/ecep/contract/vo/ContractBidVendorVo.java new file mode 100644 index 0000000..a0558eb --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractBidVendorVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class ContractBidVendorVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private Integer companyId; + private String companyName; + private Integer quotationSheetFileId; + private String quotationSheetFileName; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractCatalogVo.java b/common/src/main/java/com/ecep/contract/vo/ContractCatalogVo.java new file mode 100644 index 0000000..851493a --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractCatalogVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ContractCatalogVo implements IdentityEntity, NamedEntity { + private Integer id; + private String code; + private String name; + private String path; + private String parent; + private boolean useYear = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractFileTypeLocalVo.java b/common/src/main/java/com/ecep/contract/vo/ContractFileTypeLocalVo.java new file mode 100644 index 0000000..a4e7aab --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractFileTypeLocalVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.ContractFileType; +import lombok.Data; + +@Data +public class ContractFileTypeLocalVo implements IdentityEntity { + private Integer id; + private String language; + private ContractFileType type; + private String name; + private String description; + private String suggestFileName; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractFileVo.java b/common/src/main/java/com/ecep/contract/vo/ContractFileVo.java new file mode 100644 index 0000000..d702ea3 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractFileVo.java @@ -0,0 +1,16 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.ContractFileType; +import lombok.Data; + +@Data +public class ContractFileVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private ContractFileType type; + private String fileName; + private LocalDate applyDate; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractGroupVo.java b/common/src/main/java/com/ecep/contract/vo/ContractGroupVo.java new file mode 100644 index 0000000..ec05150 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractGroupVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ContractGroupVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String title; + private Integer parentId; + private Integer order; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractItemVo.java b/common/src/main/java/com/ecep/contract/vo/ContractItemVo.java new file mode 100644 index 0000000..c4bf1b6 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractItemVo.java @@ -0,0 +1,35 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import java.time.LocalDateTime; +import lombok.Data; + +@Data +public class ContractItemVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private String contractCode; + private String contractName; + private Integer refId; + private String itemCode; + private String title; + private String specification; + private String unit; + private Integer inventoryId; + private String inventoryName; + private Double exclusiveTaxPrice; + private Double taxRate; + private Double taxPrice; + private Double quantity; + private LocalDateTime createDate; + private LocalDateTime updateDate; + private LocalDate startDate; + private LocalDate endDate; + private Integer creatorId; + private String creatorName; + private Integer updaterId; + private String updaterName; + private String remark; + private Integer order; +} diff --git a/common/src/main/java/com/ecep/contract/vo/ContractKindVo.java b/common/src/main/java/com/ecep/contract/vo/ContractKindVo.java new file mode 100644 index 0000000..67d9ebc --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractKindVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ContractKindVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractPayPlanVo.java b/common/src/main/java/com/ecep/contract/vo/ContractPayPlanVo.java new file mode 100644 index 0000000..d07649c --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractPayPlanVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class ContractPayPlanVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private Integer order; + private Double amount; + private LocalDate planDate; + private LocalDate actualDate; + private String remark; + private boolean paid = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractTypeVo.java b/common/src/main/java/com/ecep/contract/vo/ContractTypeVo.java new file mode 100644 index 0000000..947d6e2 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractTypeVo.java @@ -0,0 +1,19 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ContractTypeVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String catalog; + private String title; + private String direction; + private Integer parentId; + private Integer order; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ContractVo.java b/common/src/main/java/com/ecep/contract/vo/ContractVo.java new file mode 100644 index 0000000..e276826 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ContractVo.java @@ -0,0 +1,63 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import com.ecep.contract.ContractPayWay; +import java.time.LocalDate; +import java.time.LocalDateTime; +import lombok.Data; + +@Data +public class ContractVo implements IdentityEntity, NamedEntity { + private Integer id; + private String guid; + private String code; + private String name; + private Integer companyId; + private String companyName; + private Integer customerId; + private String customerName; + private Integer vendorId; + private String vendorName; + private Integer contractTypeId; + private String contractTypeName; + private Integer contractKindId; + private String contractKindName; + private Integer contractGroupId; + private String contractGroupName; + private Integer projectId; + private String projectName; + private String parentCode; + private LocalDate orderDate; + private LocalDate startDate; + private LocalDate endDate; + private Integer setupPersonId; + private String setupPersonName; + private LocalDate setupDate; + private Integer inurePersonId; + private String inurePersonName; + private LocalDate inureDate; + private Integer varyPersonId; + private String varyPersonName; + private LocalDate varyDate; + private Integer employeeId; + private String employeeName; + private Integer handlerId; + private String handlerName; + private String state; + private String path; + private String description; + private LocalDateTime created; + private Double amount; + private boolean standardPayWay = false; + private boolean standardPContractText = false; + private Double totalQuantity; + private Double totalAmount; + private Double totalUnTaxAmount; + private Double execQuantity; + private Double execAmount; + private Double execUnTaxAmount; + private ContractPayWay payWay; + private boolean active = false; + private Integer version; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CustomerCatalogVo.java b/common/src/main/java/com/ecep/contract/vo/CustomerCatalogVo.java new file mode 100644 index 0000000..b9d6931 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CustomerCatalogVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class CustomerCatalogVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/CustomerSatisfactionSurveyVo.java b/common/src/main/java/com/ecep/contract/vo/CustomerSatisfactionSurveyVo.java new file mode 100644 index 0000000..96f60bc --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/CustomerSatisfactionSurveyVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; +import java.time.LocalDateTime; + +import com.ecep.contract.model.IdentityEntity; + +import lombok.Data; + +@Data +public class CustomerSatisfactionSurveyVo implements IdentityEntity, ProjectBasedVo { + private Integer id; + private Integer projectId; + private String code; + private LocalDate date; + private int totalScore; + private String data; + private Integer applicantId; + private LocalDateTime applyTime; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/DeliverySignMethodVo.java b/common/src/main/java/com/ecep/contract/vo/DeliverySignMethodVo.java new file mode 100644 index 0000000..0a6e6d8 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/DeliverySignMethodVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class DeliverySignMethodVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer saleTypeId; + private String saleTypeName; + private String description; + private boolean active = false; + private LocalDate created; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/DepartmentVo.java b/common/src/main/java/com/ecep/contract/vo/DepartmentVo.java new file mode 100644 index 0000000..5fab87b --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/DepartmentVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class DepartmentVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private Integer leaderId; + private String leaderName; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/EmployeeRoleVo.java b/common/src/main/java/com/ecep/contract/vo/EmployeeRoleVo.java new file mode 100644 index 0000000..28d0c88 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/EmployeeRoleVo.java @@ -0,0 +1,16 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class EmployeeRoleVo implements IdentityEntity, NamedEntity { + private Integer id; + private String code; + private String name; + private boolean systemAdministrator = false; + private boolean manager = false; + private boolean active = true; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/EmployeeVo.java b/common/src/main/java/com/ecep/contract/vo/EmployeeVo.java new file mode 100644 index 0000000..2e3c46c --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/EmployeeVo.java @@ -0,0 +1,36 @@ +package com.ecep.contract.vo; + +import java.time.LocalDate; +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +/** + * + */ +@Data +public class EmployeeVo implements IdentityEntity, NamedEntity { + private Integer id; + private String account; + private String name; + private String alias; + private String code; + private Integer departmentId; + private String departmentName; + private String position; + private String phone; + private String email; + private String idCard; + private LocalDate created; + private LocalDate entryDate; + private LocalDate leaveDate; + private String locale; + private String dateFormatter; + private String dateTimeFormatter; + private String timeFormatter; + private String timeZone; + private String numberFormatter; + private String currencyFormatter; + private boolean active = false; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/FunctionVo.java b/common/src/main/java/com/ecep/contract/vo/FunctionVo.java new file mode 100644 index 0000000..bb257a9 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/FunctionVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class FunctionVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private String description; + private String url; + private String icon; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/InventoryCatalogVo.java b/common/src/main/java/com/ecep/contract/vo/InventoryCatalogVo.java new file mode 100644 index 0000000..a70468d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/InventoryCatalogVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class InventoryCatalogVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/InventoryVo.java b/common/src/main/java/com/ecep/contract/vo/InventoryVo.java new file mode 100644 index 0000000..2c2f927 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/InventoryVo.java @@ -0,0 +1,46 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import java.time.LocalDateTime; +import lombok.Data; + +@Data +public class InventoryVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer catalogId; + private String catalogName; + private String specification; + private boolean specificationLock; + private boolean nameLock; + private Double purchaseTax; + private Double purchasePrice; + private Double purchaseTaxPrice; + private Double saleTax; + private Double salePrice; + private Double saleTaxPrice; + private String unit; + private Double weight; + private Double packagedWeight; + private String weightUnit; + private String volumeUnit; + private String sizeUnit; + private Double volume; + private Double volumeSizeLength; + private Double volumeSizeWidth; + private Double volumeSizeHeight; + private Double packVolume; + private Double packVolumeSizeLength; + private Double packVolumeSizeWidth; + private Double packVolumeSizeHeight; + private Integer creatorId; + private String creatorName; + private LocalDate createTime; + private Integer updaterId; + private String updaterName; + private LocalDateTime updateDate; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/InvoiceVo.java b/common/src/main/java/com/ecep/contract/vo/InvoiceVo.java new file mode 100644 index 0000000..d835a4d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/InvoiceVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class InvoiceVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private Integer contractItemId; + private String invoiceNumber; + private LocalDate invoiceDate; + private LocalDate issueDate; + private Double amount; + private Double taxAmount; + private Double taxRate; + private Double totalAmount; + private Integer invoiceStatusId; + private String remark; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/PermissionVo.java b/common/src/main/java/com/ecep/contract/vo/PermissionVo.java new file mode 100644 index 0000000..c175aa1 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/PermissionVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class PermissionVo implements IdentityEntity { + private Integer id; + private Integer functionId; + private String name; + private String code; + private String description; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/PriceVo.java b/common/src/main/java/com/ecep/contract/vo/PriceVo.java new file mode 100644 index 0000000..7dbe4de --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/PriceVo.java @@ -0,0 +1,17 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class PriceVo implements IdentityEntity { + private Integer id; + private Integer inventoryId; + private Integer customerId; + private Double unitPrice; + private LocalDate effectiveDate; + private LocalDate expireDate; + private String remark; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProductTypeVo.java b/common/src/main/java/com/ecep/contract/vo/ProductTypeVo.java new file mode 100644 index 0000000..3326920 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProductTypeVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class ProductTypeVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProductUsageVo.java b/common/src/main/java/com/ecep/contract/vo/ProductUsageVo.java new file mode 100644 index 0000000..31b2291 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProductUsageVo.java @@ -0,0 +1,13 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class ProductUsageVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectBasedVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectBasedVo.java new file mode 100644 index 0000000..322c542 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectBasedVo.java @@ -0,0 +1,7 @@ +package com.ecep.contract.vo; + +public interface ProjectBasedVo { + Integer getProjectId(); + + void setProjectId(Integer projectId); +} diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectCostItemVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectCostItemVo.java new file mode 100644 index 0000000..dbafcc4 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectCostItemVo.java @@ -0,0 +1,26 @@ +package com.ecep.contract.vo; + +import java.time.LocalDateTime; +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class ProjectCostItemVo implements IdentityEntity { + private Integer id; + private Integer costId; + private String title; + private String specification; + private String unit; + private Integer inventoryId; + private double inTaxRate; + private double inExclusiveTaxPrice; + private double inQuantity; + private double outTaxRate; + private double outExclusiveTaxPrice; + private double outQuantity; + private String remark; + private LocalDateTime createDate; + private Integer creatorId; + private LocalDateTime updateDate; + private Integer updaterId; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectCostVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectCostVo.java new file mode 100644 index 0000000..51d75bd --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectCostVo.java @@ -0,0 +1,41 @@ +package com.ecep.contract.vo; + +import java.time.LocalDateTime; +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class ProjectCostVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private Integer projectId; + private int version; + private boolean standardPayWay; + private String noStandardPayWayText; + private boolean standardContractText; + private String noStandardContractText; + private float stampTax; + private float stampTaxFee; + private float onSiteServiceFee; + private float assemblyServiceFee; + private float technicalServiceFee; + private float bidServiceFee; + private float freightCost; + private float guaranteeLetterFee; + private float taxAndSurcharges; + private float taxAndSurchargesFee; + private double inQuantities; + private double inTaxAmount; + private double inExclusiveTaxAmount; + private double outQuantities; + private double outTaxAmount; + private double outExclusiveTaxAmount; + private double grossProfitMargin; + private Integer applicantId; + private LocalDateTime applyTime; + private Integer authorizerId; + private LocalDateTime authorizationTime; + private String authorizationFile; + private String description; + private boolean importLock; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectIndustryVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectIndustryVo.java new file mode 100644 index 0000000..0296918 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectIndustryVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ProjectIndustryVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectSaleTypeVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectSaleTypeVo.java new file mode 100644 index 0000000..76bbb13 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectSaleTypeVo.java @@ -0,0 +1,21 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class ProjectSaleTypeVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String path; + private boolean storeByYear = false; + private boolean criticalProjectDecision = false; + private Double criticalProjectLimit; + private boolean active = false; + private String description; + private LocalDate created; + private int version; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectTypeVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectTypeVo.java new file mode 100644 index 0000000..78a3263 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectTypeVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import lombok.Data; + +@Data +public class ProjectTypeVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private String description; + private boolean active = false; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/ProjectVo.java b/common/src/main/java/com/ecep/contract/vo/ProjectVo.java new file mode 100644 index 0000000..d460b7d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/ProjectVo.java @@ -0,0 +1,48 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class ProjectVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private Integer customerId; + private String customerName; + private Integer projectTypeId; + private String projectTypeName; + private Integer industryId; + private String industryName; + private Integer saleTypeId; + private String saleTypeName; + private Integer productTypeId; + private String productTypeName; + private Integer deliverySignMethodId; + private String deliverySignMethodName; + private Integer productUsageId; + private String productUsageName; + private Integer codeYear; + private Integer codeSequenceNumber; + private Integer applicantId; + private String applicantName; + private Integer authorizerId; + private String authorizerName; + private Integer bankAccountId; + private Integer invoiceInfoId; + private Integer mainContactId; + private Integer subContactId; + private String address; + private boolean useBid = false; + private boolean useOffer = false; + private Integer amount; + private boolean standardPayWay = false; + private String path; + private LocalDate created; + private LocalDate PlannedStartTime; + private LocalDate PlannedCompletionTime; + private String description; + private int version; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/PurchaseOrderItemVo.java b/common/src/main/java/com/ecep/contract/vo/PurchaseOrderItemVo.java new file mode 100644 index 0000000..3064e9d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/PurchaseOrderItemVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class PurchaseOrderItemVo implements IdentityEntity { + private Integer id; + private Integer purchaseOrderId; + private Integer contractItemId; + private Integer inventoryId; + private String itemName; + private Integer unitId; + private Double quantity; + private Double unitPrice; + private Double totalPrice; + private Double taxRate; + private Double taxAmount; + private Double totalAmount; + private Integer order; + private String remark; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/PurchaseOrderVo.java b/common/src/main/java/com/ecep/contract/vo/PurchaseOrderVo.java new file mode 100644 index 0000000..4ae62a0 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/PurchaseOrderVo.java @@ -0,0 +1,21 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class PurchaseOrderVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private String code; + private String name; + private Integer vendorId; + private LocalDate orderDate; + private Double totalAmount; + private Double taxAmount; + private Double taxRate; + private Integer statusId; + private String remark; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/PurchaseReceiptVo.java b/common/src/main/java/com/ecep/contract/vo/PurchaseReceiptVo.java new file mode 100644 index 0000000..b1fb5d9 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/PurchaseReceiptVo.java @@ -0,0 +1,16 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class PurchaseReceiptVo implements IdentityEntity { + private Integer id; + private Integer purchaseOrderId; + private String code; + private LocalDate receiptDate; + private Integer receivedByEmployeeId; + private String remark; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/SalesOrderItemVo.java b/common/src/main/java/com/ecep/contract/vo/SalesOrderItemVo.java new file mode 100644 index 0000000..22d5f50 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/SalesOrderItemVo.java @@ -0,0 +1,22 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class SalesOrderItemVo implements IdentityEntity { + private Integer id; + private Integer salesOrderId; + private Integer contractItemId; + private Integer inventoryId; + private String itemName; + private Integer unitId; + private Double quantity; + private Double unitPrice; + private Double totalPrice; + private Double taxRate; + private Double taxAmount; + private Double totalAmount; + private Integer order; + private String remark; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/SalesOrderVo.java b/common/src/main/java/com/ecep/contract/vo/SalesOrderVo.java new file mode 100644 index 0000000..31bb36e --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/SalesOrderVo.java @@ -0,0 +1,21 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import java.time.LocalDate; +import lombok.Data; + +@Data +public class SalesOrderVo implements IdentityEntity { + private Integer id; + private Integer contractId; + private String code; + private String name; + private Integer customerId; + private LocalDate orderDate; + private Double totalAmount; + private Double taxAmount; + private Double taxRate; + private Integer statusId; + private String remark; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/SysConfVo.java b/common/src/main/java/com/ecep/contract/vo/SysConfVo.java new file mode 100644 index 0000000..80ae61a --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/SysConfVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class SysConfVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private String value; + private String type; + private String description; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/UnitVo.java b/common/src/main/java/com/ecep/contract/vo/UnitVo.java new file mode 100644 index 0000000..7ae9efa --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/UnitVo.java @@ -0,0 +1,18 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.model.NamedEntity; +import com.ecep.contract.UnitType; +import lombok.Data; + +@Data +public class UnitVo implements IdentityEntity, NamedEntity { + private Integer id; + private String name; + private String code; + private UnitType unitType; + private double ratio; + private boolean standard; + private String description; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/VendorCatalogVo.java b/common/src/main/java/com/ecep/contract/vo/VendorCatalogVo.java new file mode 100644 index 0000000..31847f7 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/VendorCatalogVo.java @@ -0,0 +1,15 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import lombok.Data; + +@Data +public class VendorCatalogVo implements IdentityEntity { + private Integer id; + private String name; + private String code; + private Integer parentId; + private Integer order; + private String description; + private Boolean active; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/VendorTypeLocalVo.java b/common/src/main/java/com/ecep/contract/vo/VendorTypeLocalVo.java new file mode 100644 index 0000000..f23c2a6 --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/VendorTypeLocalVo.java @@ -0,0 +1,14 @@ +package com.ecep.contract.vo; + +import com.ecep.contract.model.IdentityEntity; +import com.ecep.contract.VendorType; +import lombok.Data; + +@Data +public class VendorTypeLocalVo implements IdentityEntity { + private Integer id; + private String language; + private VendorType type; + private String name; + private String description; +} \ No newline at end of file diff --git a/common/src/main/java/com/ecep/contract/vo/VolumeSizeVo.java b/common/src/main/java/com/ecep/contract/vo/VolumeSizeVo.java new file mode 100644 index 0000000..682687d --- /dev/null +++ b/common/src/main/java/com/ecep/contract/vo/VolumeSizeVo.java @@ -0,0 +1,11 @@ +package com.ecep.contract.vo; + +import lombok.Data; + +@Data +public class VolumeSizeVo { + private double volume; + private double length; + private double width; + private double height; +} \ No newline at end of file