Commit 78e1b7be authored by neo's avatar neo

[init] use spring jpa create table

parent c71b2339
.*
rebel.xml
!.gitignore
!.mvn
/tmp
/temp
/target
/build
/logs
/atms-web/src/main/webapp/node_modules
**/*.iml
**/.idea/
atms-api/~
/bin/
<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE hibernate-configuration SYSTEM "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQL57Dialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://10.158.230.144:3306/tax_admin?useSSL=false</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">tax@Admin2018</property>
<property name="hibernate.connection.pool_size">1</property>
<property name="hibernate.show_sql">true</property>
</session-factory>
</hibernate-configuration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.org/dtd/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<type-mapping>
<sql-type jdbc-type="DATE" hibernate-type="java.time.LocalDate"/>
<sql-type jdbc-type="TIMESTAMP" hibernate-type="java.time.LocalDateTime"/>
</type-mapping>
</hibernate-reverse-engineering>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>pwc.taxtech.atms</groupId>
<artifactId>atms-gen</artifactId>
<version>0.1.1</version>
<parent>
<groupId>pwc.taxtech.atms</groupId>
<artifactId>atms</artifactId>
<version>0.1.1</version>
</parent>
<properties>
<java.version>1.8</java.version>
<hibernate-tools-maven-plugin.version>0.1.0</hibernate-tools-maven-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/ojdbc6.jar</systemPath>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.0.3.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.stadler</groupId>
<artifactId>hibernate-tools-maven-plugin</artifactId>
<version>${hibernate-tools-maven-plugin.version}</version>
<executions>
<execution>
<id>Entity generation</id>
<phase>generate-sources</phase>
<goals>
<goal>hbm2java</goal>
</goals>
<configuration>
<templatePath>${project.basedir}/src/main/resources/templates/</templatePath>
<!-- Defaults: -->
<outputDirectory>${project.build.directory}/generated-sources/</outputDirectory>
<ejb3>false</ejb3>
<jdk5>false</jdk5>
</configuration>
</execution>
</executions>
<configuration>
<!--<revengFile>${project.basedir}/config/hibernate.reveng.xml</revengFile>-->
<!-- Defaults:-->
<packageName>pwc.taxtech.entity</packageName>
<configFile>${project.basedir}/config/hibernate.cfg.xml</configFile>
<!--<detectManyToMany>true</detectManyToMany>-->
<!--<detectOneToOne>true</detectOneToOne>-->
<!--<detectOptimisticLock>true</detectOptimisticLock>-->
<!--<createCollectionForForeignKey>true</createCollectionForForeignKey>-->
<!--<createManyToOneForForeignKey>true</createManyToOneForForeignKey>-->
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.46</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>spring-releases</id>
<name>Spring Releases</name>
<url>http://repo.spring.io/libs-release</url>
</pluginRepository>
</pluginRepositories>
</project>
\ No newline at end of file
package pwc.taxtech;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
public class Application {
private static final Logger log = LoggerFactory.getLogger(Application.class);
public static void main(String[] args) {
SpringApplication.run(Application.class);
}
@Bean
public CommandLineRunner initDb() {
return (args) -> {
// repository.save(new AccountMapping());
log.info("init some data to db");
// log.info("result for query {}", repository.findAll().toString());
};
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class AccountMapping {
private String id;
private String enterpriseAccountCode;
private String standardAccountCode;
private String enterpriseAccountSetId;
private String organizationId;
private String industryId;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "EnterpriseAccountCode", nullable = false, length = 50)
public String getEnterpriseAccountCode() {
return enterpriseAccountCode;
}
public void setEnterpriseAccountCode(String enterpriseAccountCode) {
this.enterpriseAccountCode = enterpriseAccountCode;
}
@Basic
@Column(name = "StandardAccountCode", nullable = false, length = 50)
public String getStandardAccountCode() {
return standardAccountCode;
}
public void setStandardAccountCode(String standardAccountCode) {
this.standardAccountCode = standardAccountCode;
}
@Basic
@Column(name = "EnterpriseAccountSetID", nullable = false, length = 128)
public String getEnterpriseAccountSetId() {
return enterpriseAccountSetId;
}
public void setEnterpriseAccountSetId(String enterpriseAccountSetId) {
this.enterpriseAccountSetId = enterpriseAccountSetId;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "IndustryID", nullable = false, length = 128)
public String getIndustryId() {
return industryId;
}
public void setIndustryId(String industryId) {
this.industryId = industryId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AccountMapping that = (AccountMapping) o;
return Objects.equals(id, that.id) &&
Objects.equals(enterpriseAccountCode, that.enterpriseAccountCode) &&
Objects.equals(standardAccountCode, that.standardAccountCode) &&
Objects.equals(enterpriseAccountSetId, that.enterpriseAccountSetId) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(industryId, that.industryId);
}
@Override
public int hashCode() {
return Objects.hash(id, enterpriseAccountCode, standardAccountCode, enterpriseAccountSetId, organizationId, industryId);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class AccountMappingKeyword {
private String id;
private String standardCode;
private String fullName;
private int ruleType;
private String industryId;
private Timestamp createTime;
private Timestamp updateTime;
private byte isActive;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "StandardCode", nullable = false, length = 50)
public String getStandardCode() {
return standardCode;
}
public void setStandardCode(String standardCode) {
this.standardCode = standardCode;
}
@Basic
@Column(name = "FullName", nullable = false, length = 200)
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
@Basic
@Column(name = "RuleType", nullable = false)
public int getRuleType() {
return ruleType;
}
public void setRuleType(int ruleType) {
this.ruleType = ruleType;
}
@Basic
@Column(name = "IndustryID", nullable = false, length = 128)
public String getIndustryId() {
return industryId;
}
public void setIndustryId(String industryId) {
this.industryId = industryId;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "IsActive", nullable = false)
public byte getIsActive() {
return isActive;
}
public void setIsActive(byte isActive) {
this.isActive = isActive;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AccountMappingKeyword that = (AccountMappingKeyword) o;
return ruleType == that.ruleType &&
isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(standardCode, that.standardCode) &&
Objects.equals(fullName, that.fullName) &&
Objects.equals(industryId, that.industryId) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, standardCode, fullName, ruleType, industryId, createTime, updateTime, isActive);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class AccountMappingManual {
private String id;
private String standardCode;
private String fullName;
private String enterpriseAccountSetId;
private String organizationId;
private String industryId;
private Timestamp updateTime;
private String updateBy;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "StandardCode", nullable = false, length = 50)
public String getStandardCode() {
return standardCode;
}
public void setStandardCode(String standardCode) {
this.standardCode = standardCode;
}
@Basic
@Column(name = "FullName", nullable = false, length = 200)
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
@Basic
@Column(name = "EnterpriseAccountSetID", nullable = false, length = 128)
public String getEnterpriseAccountSetId() {
return enterpriseAccountSetId;
}
public void setEnterpriseAccountSetId(String enterpriseAccountSetId) {
this.enterpriseAccountSetId = enterpriseAccountSetId;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "IndustryID", nullable = false, length = 128)
public String getIndustryId() {
return industryId;
}
public void setIndustryId(String industryId) {
this.industryId = industryId;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "UpdateBy", nullable = false, length = 128)
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AccountMappingManual that = (AccountMappingManual) o;
return Objects.equals(id, that.id) &&
Objects.equals(standardCode, that.standardCode) &&
Objects.equals(fullName, that.fullName) &&
Objects.equals(enterpriseAccountSetId, that.enterpriseAccountSetId) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(industryId, that.industryId) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(updateBy, that.updateBy);
}
@Override
public int hashCode() {
return Objects.hash(id, standardCode, fullName, enterpriseAccountSetId, organizationId, industryId, updateTime, updateBy);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class AdminImportFile {
private String fileId;
private String filePath;
private String fileName;
private int periodId;
private String fileType;
private String creatorId;
private Timestamp createTime;
private int fileImportType;
@Id
@Column(name = "FileID", nullable = false, length = 128)
public String getFileId() {
return fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
@Basic
@Column(name = "FilePath", nullable = false, length = 255)
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
@Basic
@Column(name = "FileName", nullable = false, length = 255)
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
@Basic
@Column(name = "PeriodID", nullable = false)
public int getPeriodId() {
return periodId;
}
public void setPeriodId(int periodId) {
this.periodId = periodId;
}
@Basic
@Column(name = "FileType", nullable = false, length = 50)
public String getFileType() {
return fileType;
}
public void setFileType(String fileType) {
this.fileType = fileType;
}
@Basic
@Column(name = "CreatorID", nullable = false, length = 128)
public String getCreatorId() {
return creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "FileImportType", nullable = false)
public int getFileImportType() {
return fileImportType;
}
public void setFileImportType(int fileImportType) {
this.fileImportType = fileImportType;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AdminImportFile that = (AdminImportFile) o;
return periodId == that.periodId &&
fileImportType == that.fileImportType &&
Objects.equals(fileId, that.fileId) &&
Objects.equals(filePath, that.filePath) &&
Objects.equals(fileName, that.fileName) &&
Objects.equals(fileType, that.fileType) &&
Objects.equals(creatorId, that.creatorId) &&
Objects.equals(createTime, that.createTime);
}
@Override
public int hashCode() {
return Objects.hash(fileId, filePath, fileName, periodId, fileType, creatorId, createTime, fileImportType);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Area {
private String id;
private String parentId;
private String name;
private byte isActive;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "ParentID", nullable = true, length = 128)
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
@Basic
@Column(name = "Name", nullable = false, length = 200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsActive", nullable = false)
public byte getIsActive() {
return isActive;
}
public void setIsActive(byte isActive) {
this.isActive = isActive;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Area area = (Area) o;
return isActive == area.isActive &&
Objects.equals(id, area.id) &&
Objects.equals(parentId, area.parentId) &&
Objects.equals(name, area.name);
}
@Override
public int hashCode() {
return Objects.hash(id, parentId, name, isActive);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class AreaRegion {
private String id;
private String areaId;
private String regionId;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "AreaID", nullable = false, length = 128)
public String getAreaId() {
return areaId;
}
public void setAreaId(String areaId) {
this.areaId = areaId;
}
@Basic
@Column(name = "RegionID", nullable = false, length = 128)
public String getRegionId() {
return regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AreaRegion that = (AreaRegion) o;
return Objects.equals(id, that.id) &&
Objects.equals(areaId, that.areaId) &&
Objects.equals(regionId, that.regionId);
}
@Override
public int hashCode() {
return Objects.hash(id, areaId, regionId);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class AssetDetailGroup {
private String id;
private String assetGroupId;
private String detailGroupName;
private int assetGroupType;
private int groupYear;
private Timestamp createTime;
private Timestamp updateTime;
private int detailGroupType;
private String keyValues;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "AssetGroupID", nullable = false, length = 128)
public String getAssetGroupId() {
return assetGroupId;
}
public void setAssetGroupId(String assetGroupId) {
this.assetGroupId = assetGroupId;
}
@Basic
@Column(name = "DetailGroupName", nullable = false, length = 200)
public String getDetailGroupName() {
return detailGroupName;
}
public void setDetailGroupName(String detailGroupName) {
this.detailGroupName = detailGroupName;
}
@Basic
@Column(name = "AssetGroupType", nullable = false)
public int getAssetGroupType() {
return assetGroupType;
}
public void setAssetGroupType(int assetGroupType) {
this.assetGroupType = assetGroupType;
}
@Basic
@Column(name = "GroupYear", nullable = false)
public int getGroupYear() {
return groupYear;
}
public void setGroupYear(int groupYear) {
this.groupYear = groupYear;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "DetailGroupType", nullable = false)
public int getDetailGroupType() {
return detailGroupType;
}
public void setDetailGroupType(int detailGroupType) {
this.detailGroupType = detailGroupType;
}
@Basic
@Column(name = "KeyValues", nullable = true, length = -1)
public String getKeyValues() {
return keyValues;
}
public void setKeyValues(String keyValues) {
this.keyValues = keyValues;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AssetDetailGroup that = (AssetDetailGroup) o;
return assetGroupType == that.assetGroupType &&
groupYear == that.groupYear &&
detailGroupType == that.detailGroupType &&
Objects.equals(id, that.id) &&
Objects.equals(assetGroupId, that.assetGroupId) &&
Objects.equals(detailGroupName, that.detailGroupName) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(keyValues, that.keyValues);
}
@Override
public int hashCode() {
return Objects.hash(id, assetGroupId, detailGroupName, assetGroupType, groupYear, createTime, updateTime, detailGroupType, keyValues);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class AssetGroup {
private String id;
private String assetGroupName;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "AssetGroupName", nullable = false, length = 200)
public String getAssetGroupName() {
return assetGroupName;
}
public void setAssetGroupName(String assetGroupName) {
this.assetGroupName = assetGroupName;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AssetGroup that = (AssetGroup) o;
return Objects.equals(id, that.id) &&
Objects.equals(assetGroupName, that.assetGroupName) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, assetGroupName, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class BdUserRedLetterReason {
private String id;
private int invoicingReasonIndex;
private String inputReason;
private String evidenceDocuments;
private int isRecievingAll;
private String invoiceId;
private String caseNumber;
private Timestamp createTime;
private String createBy;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "InvoicingReasonIndex", nullable = false)
public int getInvoicingReasonIndex() {
return invoicingReasonIndex;
}
public void setInvoicingReasonIndex(int invoicingReasonIndex) {
this.invoicingReasonIndex = invoicingReasonIndex;
}
@Basic
@Column(name = "InputReason", nullable = false, length = 255)
public String getInputReason() {
return inputReason;
}
public void setInputReason(String inputReason) {
this.inputReason = inputReason;
}
@Basic
@Column(name = "EvidenceDocuments", nullable = true, length = -1)
public String getEvidenceDocuments() {
return evidenceDocuments;
}
public void setEvidenceDocuments(String evidenceDocuments) {
this.evidenceDocuments = evidenceDocuments;
}
@Basic
@Column(name = "IsRecievingAll", nullable = false)
public int getIsRecievingAll() {
return isRecievingAll;
}
public void setIsRecievingAll(int isRecievingAll) {
this.isRecievingAll = isRecievingAll;
}
@Basic
@Column(name = "InvoiceID", nullable = false, length = 128)
public String getInvoiceId() {
return invoiceId;
}
public void setInvoiceId(String invoiceId) {
this.invoiceId = invoiceId;
}
@Basic
@Column(name = "CaseNumber", nullable = false, length = 128)
public String getCaseNumber() {
return caseNumber;
}
public void setCaseNumber(String caseNumber) {
this.caseNumber = caseNumber;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "CreateBy", nullable = false, length = 50)
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BdUserRedLetterReason that = (BdUserRedLetterReason) o;
return invoicingReasonIndex == that.invoicingReasonIndex &&
isRecievingAll == that.isRecievingAll &&
Objects.equals(id, that.id) &&
Objects.equals(inputReason, that.inputReason) &&
Objects.equals(evidenceDocuments, that.evidenceDocuments) &&
Objects.equals(invoiceId, that.invoiceId) &&
Objects.equals(caseNumber, that.caseNumber) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(createBy, that.createBy);
}
@Override
public int hashCode() {
return Objects.hash(id, invoicingReasonIndex, inputReason, evidenceDocuments, isRecievingAll, invoiceId, caseNumber, createTime, createBy);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class BusinessUnit {
private String id;
private String name;
private byte isActive;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = 100)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsActive", nullable = false)
public byte getIsActive() {
return isActive;
}
public void setIsActive(byte isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BusinessUnit that = (BusinessUnit) o;
return isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, name, isActive, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Cache {
private String id;
private String cacheKey;
private String lastModifyTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "CacheKey", nullable = false, length = 255)
public String getCacheKey() {
return cacheKey;
}
public void setCacheKey(String cacheKey) {
this.cacheKey = cacheKey;
}
@Basic
@Column(name = "LastModifyTime", nullable = false, length = 255)
public String getLastModifyTime() {
return lastModifyTime;
}
public void setLastModifyTime(String lastModifyTime) {
this.lastModifyTime = lastModifyTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Cache cache = (Cache) o;
return Objects.equals(id, cache.id) &&
Objects.equals(cacheKey, cache.cacheKey) &&
Objects.equals(lastModifyTime, cache.lastModifyTime);
}
@Override
public int hashCode() {
return Objects.hash(id, cacheKey, lastModifyTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
@Table(name = "cell_template", schema = "tax_admin", catalog = "")
public class CellTemplate {
private long id;
private long reportTemplateId;
private int rowIndex;
private String rowName;
private int columnIndex;
private String columnName;
private String comment;
private Timestamp createTime;
private Timestamp updateTime;
private long copyFromId;
private int dataType;
private short isReadOnly;
private String createBy;
private String updateBy;
@Id
@Column(name = "id", nullable = false)
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Basic
@Column(name = "report_template_id", nullable = false)
public long getReportTemplateId() {
return reportTemplateId;
}
public void setReportTemplateId(long reportTemplateId) {
this.reportTemplateId = reportTemplateId;
}
@Basic
@Column(name = "row_index", nullable = false)
public int getRowIndex() {
return rowIndex;
}
public void setRowIndex(int rowIndex) {
this.rowIndex = rowIndex;
}
@Basic
@Column(name = "row_name", nullable = false, length = 1000)
public String getRowName() {
return rowName;
}
public void setRowName(String rowName) {
this.rowName = rowName;
}
@Basic
@Column(name = "column_index", nullable = false)
public int getColumnIndex() {
return columnIndex;
}
public void setColumnIndex(int columnIndex) {
this.columnIndex = columnIndex;
}
@Basic
@Column(name = "column_name", nullable = false, length = 1000)
public String getColumnName() {
return columnName;
}
public void setColumnName(String columnName) {
this.columnName = columnName;
}
@Basic
@Column(name = "comment", nullable = false, length = 3000)
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@Basic
@Column(name = "create_time", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "update_time", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "copy_from_id", nullable = false)
public long getCopyFromId() {
return copyFromId;
}
public void setCopyFromId(long copyFromId) {
this.copyFromId = copyFromId;
}
@Basic
@Column(name = "data_type", nullable = false)
public int getDataType() {
return dataType;
}
public void setDataType(int dataType) {
this.dataType = dataType;
}
@Basic
@Column(name = "is_read_only", nullable = false)
public short getIsReadOnly() {
return isReadOnly;
}
public void setIsReadOnly(short isReadOnly) {
this.isReadOnly = isReadOnly;
}
@Basic
@Column(name = "create_by", nullable = false, length = 128)
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
@Basic
@Column(name = "update_by", nullable = false, length = 128)
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CellTemplate that = (CellTemplate) o;
return id == that.id &&
reportTemplateId == that.reportTemplateId &&
rowIndex == that.rowIndex &&
columnIndex == that.columnIndex &&
copyFromId == that.copyFromId &&
dataType == that.dataType &&
isReadOnly == that.isReadOnly &&
Objects.equals(rowName, that.rowName) &&
Objects.equals(columnName, that.columnName) &&
Objects.equals(comment, that.comment) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(createBy, that.createBy) &&
Objects.equals(updateBy, that.updateBy);
}
@Override
public int hashCode() {
return Objects.hash(id, reportTemplateId, rowIndex, rowName, columnIndex, columnName, comment, createTime, updateTime, copyFromId, dataType, isReadOnly, createBy, updateBy);
}
}
package pwc.taxtech.entity;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
@Table(name = "cell_template_config", schema = "tax_admin", catalog = "")
public class CellTemplateConfig {
private long id;
private long cellTemplateId;
private long reportTemplateId;
private int dataSourceType;
private String formula;
private String formulaDescription;
private String accountCodes;
private int invoiceType;
private String taxRate;
private int invoiceAmountType;
private String modelIds;
private String createBy;
private Timestamp createTime;
private String updateBy;
private Timestamp updateTime;
private String invoiceCategory;
private String formulaDataSource;
private String validation;
private String validationDescription;
private String voucherKeyword;
@Id
@Column(name = "id", nullable = false)
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Basic
@Column(name = "cell_template_id", nullable = false)
public long getCellTemplateId() {
return cellTemplateId;
}
public void setCellTemplateId(long cellTemplateId) {
this.cellTemplateId = cellTemplateId;
}
@Basic
@Column(name = "report_template_id", nullable = false)
public long getReportTemplateId() {
return reportTemplateId;
}
public void setReportTemplateId(long reportTemplateId) {
this.reportTemplateId = reportTemplateId;
}
@Basic
@Column(name = "data_source_type", nullable = false)
public int getDataSourceType() {
return dataSourceType;
}
public void setDataSourceType(int dataSourceType) {
this.dataSourceType = dataSourceType;
}
@Basic
@Column(name = "formula", nullable = false, length = 1000)
public String getFormula() {
return formula;
}
public void setFormula(String formula) {
this.formula = formula;
}
@Basic
@Column(name = "formula_description", nullable = false, length = 1000)
public String getFormulaDescription() {
return formulaDescription;
}
public void setFormulaDescription(String formulaDescription) {
this.formulaDescription = formulaDescription;
}
@Basic
@Column(name = "account_codes", nullable = false, length = 1000)
public String getAccountCodes() {
return accountCodes;
}
public void setAccountCodes(String accountCodes) {
this.accountCodes = accountCodes;
}
@Basic
@Column(name = "invoice_type", nullable = false)
public int getInvoiceType() {
return invoiceType;
}
public void setInvoiceType(int invoiceType) {
this.invoiceType = invoiceType;
}
@Basic
@Column(name = "tax_rate", nullable = false, length = 50)
public String getTaxRate() {
return taxRate;
}
public void setTaxRate(String taxRate) {
this.taxRate = taxRate;
}
@Basic
@Column(name = "invoice_amount_type", nullable = false)
public int getInvoiceAmountType() {
return invoiceAmountType;
}
public void setInvoiceAmountType(int invoiceAmountType) {
this.invoiceAmountType = invoiceAmountType;
}
@Basic
@Column(name = "model_ids", nullable = false, length = 1000)
public String getModelIds() {
return modelIds;
}
public void setModelIds(String modelIds) {
this.modelIds = modelIds;
}
@Basic
@Column(name = "create_by", nullable = false, length = 128)
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
@Basic
@Column(name = "create_time", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "update_by", nullable = false, length = 128)
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Basic
@Column(name = "update_time", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "invoice_category", nullable = false, length = 50)
public String getInvoiceCategory() {
return invoiceCategory;
}
public void setInvoiceCategory(String invoiceCategory) {
this.invoiceCategory = invoiceCategory;
}
@Basic
@Column(name = "formula_data_source", nullable = false, length = 1000)
public String getFormulaDataSource() {
return formulaDataSource;
}
public void setFormulaDataSource(String formulaDataSource) {
this.formulaDataSource = formulaDataSource;
}
@Basic
@Column(name = "validation", nullable = false, length = 1000)
public String getValidation() {
return validation;
}
public void setValidation(String validation) {
this.validation = validation;
}
@Basic
@Column(name = "validation_description", nullable = false, length = 1000)
public String getValidationDescription() {
return validationDescription;
}
public void setValidationDescription(String validationDescription) {
this.validationDescription = validationDescription;
}
@Basic
@Column(name = "voucher_keyword", nullable = true, length = 1000)
public String getVoucherKeyword() {
return voucherKeyword;
}
public void setVoucherKeyword(String voucherKeyword) {
this.voucherKeyword = voucherKeyword;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CellTemplateConfig that = (CellTemplateConfig) o;
return id == that.id &&
cellTemplateId == that.cellTemplateId &&
reportTemplateId == that.reportTemplateId &&
dataSourceType == that.dataSourceType &&
invoiceType == that.invoiceType &&
invoiceAmountType == that.invoiceAmountType &&
Objects.equals(formula, that.formula) &&
Objects.equals(formulaDescription, that.formulaDescription) &&
Objects.equals(accountCodes, that.accountCodes) &&
Objects.equals(taxRate, that.taxRate) &&
Objects.equals(modelIds, that.modelIds) &&
Objects.equals(createBy, that.createBy) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateBy, that.updateBy) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(invoiceCategory, that.invoiceCategory) &&
Objects.equals(formulaDataSource, that.formulaDataSource) &&
Objects.equals(validation, that.validation) &&
Objects.equals(validationDescription, that.validationDescription) &&
Objects.equals(voucherKeyword, that.voucherKeyword);
}
@Override
public int hashCode() {
return Objects.hash(id, cellTemplateId, reportTemplateId, dataSourceType, formula, formulaDescription, accountCodes, invoiceType, taxRate, invoiceAmountType, modelIds, createBy, createTime, updateBy, updateTime, invoiceCategory, formulaDataSource, validation, validationDescription, voucherKeyword);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Customer {
private String id;
private String code;
private String name;
private String enterPriseAccountId;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Code", nullable = false, length = 50)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Basic
@Column(name = "Name", nullable = false, length = 100)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "EnterPriseAccountID", nullable = false, length = 128)
public String getEnterPriseAccountId() {
return enterPriseAccountId;
}
public void setEnterPriseAccountId(String enterPriseAccountId) {
this.enterPriseAccountId = enterPriseAccountId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Customer customer = (Customer) o;
return Objects.equals(id, customer.id) &&
Objects.equals(code, customer.code) &&
Objects.equals(name, customer.name) &&
Objects.equals(enterPriseAccountId, customer.enterPriseAccountId);
}
@Override
public int hashCode() {
return Objects.hash(id, code, name, enterPriseAccountId);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DasboardIndexData {
private String id;
private String organizationId;
private Integer year;
private String modelId;
private String indexId;
private int period;
private String data;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "Year", nullable = true)
public Integer getYear() {
return year;
}
public void setYear(Integer year) {
this.year = year;
}
@Basic
@Column(name = "ModelID", nullable = false, length = 128)
public String getModelId() {
return modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
@Basic
@Column(name = "IndexID", nullable = false, length = 128)
public String getIndexId() {
return indexId;
}
public void setIndexId(String indexId) {
this.indexId = indexId;
}
@Basic
@Column(name = "Period", nullable = false)
public int getPeriod() {
return period;
}
public void setPeriod(int period) {
this.period = period;
}
@Basic
@Column(name = "Data", nullable = false, length = 50)
public String getData() {
return data;
}
public void setData(String data) {
this.data = data;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DasboardIndexData that = (DasboardIndexData) o;
return period == that.period &&
Objects.equals(id, that.id) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(year, that.year) &&
Objects.equals(modelId, that.modelId) &&
Objects.equals(indexId, that.indexId) &&
Objects.equals(data, that.data) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, organizationId, year, modelId, indexId, period, data, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DashboardConfigOrganization {
private String id;
private String name;
private int isDefault;
private String userId;
private String years;
private int dimensionType;
private String indexIDs;
private String userSetting;
private int isShowData;
private int orderIndex;
private Timestamp createTime;
private Timestamp updateTime;
private String riskTip;
private Integer isShowGrid;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = 200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsDefault", nullable = false)
public int getIsDefault() {
return isDefault;
}
public void setIsDefault(int isDefault) {
this.isDefault = isDefault;
}
@Basic
@Column(name = "UserID", nullable = true, length = 128)
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Basic
@Column(name = "Years", nullable = false, length = 128)
public String getYears() {
return years;
}
public void setYears(String years) {
this.years = years;
}
@Basic
@Column(name = "DimensionType", nullable = false)
public int getDimensionType() {
return dimensionType;
}
public void setDimensionType(int dimensionType) {
this.dimensionType = dimensionType;
}
@Basic
@Column(name = "IndexIDs", nullable = false, length = -1)
public String getIndexIDs() {
return indexIDs;
}
public void setIndexIDs(String indexIDs) {
this.indexIDs = indexIDs;
}
@Basic
@Column(name = "UserSetting", nullable = true, length = -1)
public String getUserSetting() {
return userSetting;
}
public void setUserSetting(String userSetting) {
this.userSetting = userSetting;
}
@Basic
@Column(name = "IsShowData", nullable = false)
public int getIsShowData() {
return isShowData;
}
public void setIsShowData(int isShowData) {
this.isShowData = isShowData;
}
@Basic
@Column(name = "OrderIndex", nullable = false)
public int getOrderIndex() {
return orderIndex;
}
public void setOrderIndex(int orderIndex) {
this.orderIndex = orderIndex;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "RiskTip", nullable = true, length = -1)
public String getRiskTip() {
return riskTip;
}
public void setRiskTip(String riskTip) {
this.riskTip = riskTip;
}
@Basic
@Column(name = "IsShowGrid", nullable = true)
public Integer getIsShowGrid() {
return isShowGrid;
}
public void setIsShowGrid(Integer isShowGrid) {
this.isShowGrid = isShowGrid;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DashboardConfigOrganization that = (DashboardConfigOrganization) o;
return isDefault == that.isDefault &&
dimensionType == that.dimensionType &&
isShowData == that.isShowData &&
orderIndex == that.orderIndex &&
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(userId, that.userId) &&
Objects.equals(years, that.years) &&
Objects.equals(indexIDs, that.indexIDs) &&
Objects.equals(userSetting, that.userSetting) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(riskTip, that.riskTip) &&
Objects.equals(isShowGrid, that.isShowGrid);
}
@Override
public int hashCode() {
return Objects.hash(id, name, isDefault, userId, years, dimensionType, indexIDs, userSetting, isShowData, orderIndex, createTime, updateTime, riskTip, isShowGrid);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DashboardConfigSummary {
private String id;
private String name;
private int isDefault;
private String userId;
private String modelId;
private String indexIDs;
private String userSetting;
private int isShowData;
private int orderIndex;
private Timestamp createTime;
private Timestamp updateTime;
private String riskTip;
private Integer isShowGrid;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = 200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsDefault", nullable = false)
public int getIsDefault() {
return isDefault;
}
public void setIsDefault(int isDefault) {
this.isDefault = isDefault;
}
@Basic
@Column(name = "UserID", nullable = true, length = 128)
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Basic
@Column(name = "ModelID", nullable = true, length = 128)
public String getModelId() {
return modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
@Basic
@Column(name = "IndexIDs", nullable = false, length = -1)
public String getIndexIDs() {
return indexIDs;
}
public void setIndexIDs(String indexIDs) {
this.indexIDs = indexIDs;
}
@Basic
@Column(name = "UserSetting", nullable = true, length = -1)
public String getUserSetting() {
return userSetting;
}
public void setUserSetting(String userSetting) {
this.userSetting = userSetting;
}
@Basic
@Column(name = "IsShowData", nullable = false)
public int getIsShowData() {
return isShowData;
}
public void setIsShowData(int isShowData) {
this.isShowData = isShowData;
}
@Basic
@Column(name = "OrderIndex", nullable = false)
public int getOrderIndex() {
return orderIndex;
}
public void setOrderIndex(int orderIndex) {
this.orderIndex = orderIndex;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "RiskTip", nullable = true, length = -1)
public String getRiskTip() {
return riskTip;
}
public void setRiskTip(String riskTip) {
this.riskTip = riskTip;
}
@Basic
@Column(name = "IsShowGrid", nullable = true)
public Integer getIsShowGrid() {
return isShowGrid;
}
public void setIsShowGrid(Integer isShowGrid) {
this.isShowGrid = isShowGrid;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DashboardConfigSummary that = (DashboardConfigSummary) o;
return isDefault == that.isDefault &&
isShowData == that.isShowData &&
orderIndex == that.orderIndex &&
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(userId, that.userId) &&
Objects.equals(modelId, that.modelId) &&
Objects.equals(indexIDs, that.indexIDs) &&
Objects.equals(userSetting, that.userSetting) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(riskTip, that.riskTip) &&
Objects.equals(isShowGrid, that.isShowGrid);
}
@Override
public int hashCode() {
return Objects.hash(id, name, isDefault, userId, modelId, indexIDs, userSetting, isShowData, orderIndex, createTime, updateTime, riskTip, isShowGrid);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DataImportedStatus {
private String id;
private String projectId;
private String dbName;
private String organizationId;
private int year;
private int period;
private int dataType;
private int totalCount;
private int exceptionCount;
private int successedCount;
private Timestamp startTime;
private Timestamp endTime;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "Id", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "ProjectId", nullable = false, length = 128)
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
@Basic
@Column(name = "DbName", nullable = false, length = 64)
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName;
}
@Basic
@Column(name = "OrganizationId", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "Year", nullable = false)
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = year;
}
@Basic
@Column(name = "Period", nullable = false)
public int getPeriod() {
return period;
}
public void setPeriod(int period) {
this.period = period;
}
@Basic
@Column(name = "DataType", nullable = false)
public int getDataType() {
return dataType;
}
public void setDataType(int dataType) {
this.dataType = dataType;
}
@Basic
@Column(name = "TotalCount", nullable = false)
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
@Basic
@Column(name = "ExceptionCount", nullable = false)
public int getExceptionCount() {
return exceptionCount;
}
public void setExceptionCount(int exceptionCount) {
this.exceptionCount = exceptionCount;
}
@Basic
@Column(name = "SuccessedCount", nullable = false)
public int getSuccessedCount() {
return successedCount;
}
public void setSuccessedCount(int successedCount) {
this.successedCount = successedCount;
}
@Basic
@Column(name = "StartTime", nullable = false)
public Timestamp getStartTime() {
return startTime;
}
public void setStartTime(Timestamp startTime) {
this.startTime = startTime;
}
@Basic
@Column(name = "EndTime", nullable = false)
public Timestamp getEndTime() {
return endTime;
}
public void setEndTime(Timestamp endTime) {
this.endTime = endTime;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DataImportedStatus that = (DataImportedStatus) o;
return year == that.year &&
period == that.period &&
dataType == that.dataType &&
totalCount == that.totalCount &&
exceptionCount == that.exceptionCount &&
successedCount == that.successedCount &&
Objects.equals(id, that.id) &&
Objects.equals(projectId, that.projectId) &&
Objects.equals(dbName, that.dbName) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(startTime, that.startTime) &&
Objects.equals(endTime, that.endTime) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, projectId, dbName, organizationId, year, period, dataType, totalCount, exceptionCount, successedCount, startTime, endTime, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class DataSourceFormulaMapping {
private String id;
private int dataSourceId;
private String dataSourceName;
private String fourmulaName;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "DataSourceID", nullable = false)
public int getDataSourceId() {
return dataSourceId;
}
public void setDataSourceId(int dataSourceId) {
this.dataSourceId = dataSourceId;
}
@Basic
@Column(name = "DataSourceName", nullable = false, length = 128)
public String getDataSourceName() {
return dataSourceName;
}
public void setDataSourceName(String dataSourceName) {
this.dataSourceName = dataSourceName;
}
@Basic
@Column(name = "FourmulaName", nullable = false, length = 128)
public String getFourmulaName() {
return fourmulaName;
}
public void setFourmulaName(String fourmulaName) {
this.fourmulaName = fourmulaName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DataSourceFormulaMapping that = (DataSourceFormulaMapping) o;
return dataSourceId == that.dataSourceId &&
Objects.equals(id, that.id) &&
Objects.equals(dataSourceName, that.dataSourceName) &&
Objects.equals(fourmulaName, that.fourmulaName);
}
@Override
public int hashCode() {
return Objects.hash(id, dataSourceId, dataSourceName, fourmulaName);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DataValidationResult {
private String id;
private String tableName;
private String recordId;
private String fieldName;
private String validMessage;
private String creator;
private Timestamp createTime;
private String updater;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "TableName", nullable = false, length = 128)
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
@Basic
@Column(name = "RecordID", nullable = false, length = 128)
public String getRecordId() {
return recordId;
}
public void setRecordId(String recordId) {
this.recordId = recordId;
}
@Basic
@Column(name = "FieldName", nullable = false, length = 128)
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
@Basic
@Column(name = "ValidMessage", nullable = false, length = -1)
public String getValidMessage() {
return validMessage;
}
public void setValidMessage(String validMessage) {
this.validMessage = validMessage;
}
@Basic
@Column(name = "Creator", nullable = true, length = 128)
public String getCreator() {
return creator;
}
public void setCreator(String creator) {
this.creator = creator;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "Updater", nullable = true, length = 128)
public String getUpdater() {
return updater;
}
public void setUpdater(String updater) {
this.updater = updater;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DataValidationResult that = (DataValidationResult) o;
return Objects.equals(id, that.id) &&
Objects.equals(tableName, that.tableName) &&
Objects.equals(recordId, that.recordId) &&
Objects.equals(fieldName, that.fieldName) &&
Objects.equals(validMessage, that.validMessage) &&
Objects.equals(creator, that.creator) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updater, that.updater) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, tableName, recordId, fieldName, validMessage, creator, createTime, updater, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Demo {
private long id;
private String name;
private byte age;
private int createTime;
private int updateTime;
private byte isDelete;
@Id
@Column(name = "id", nullable = false)
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Basic
@Column(name = "name", nullable = false, length = 255)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "age", nullable = false)
public byte getAge() {
return age;
}
public void setAge(byte age) {
this.age = age;
}
@Basic
@Column(name = "create_time", nullable = false)
public int getCreateTime() {
return createTime;
}
public void setCreateTime(int createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "update_time", nullable = false)
public int getUpdateTime() {
return updateTime;
}
public void setUpdateTime(int updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "is_delete", nullable = false)
public byte getIsDelete() {
return isDelete;
}
public void setIsDelete(byte isDelete) {
this.isDelete = isDelete;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Demo demo = (Demo) o;
return id == demo.id &&
age == demo.age &&
createTime == demo.createTime &&
updateTime == demo.updateTime &&
isDelete == demo.isDelete &&
Objects.equals(name, demo.name);
}
@Override
public int hashCode() {
return Objects.hash(id, name, age, createTime, updateTime, isDelete);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class Dictionary {
private String id;
private String code;
private String dictKey;
private String dictValue;
private String parentCode;
private int orderIndex;
private short isActive;
private Timestamp createTime;
private Timestamp updateTime;
private String remark;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Code", nullable = false, length = 200)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Basic
@Column(name = "DictKey", nullable = false, length = 200)
public String getDictKey() {
return dictKey;
}
public void setDictKey(String dictKey) {
this.dictKey = dictKey;
}
@Basic
@Column(name = "DictValue", nullable = false, length = -1)
public String getDictValue() {
return dictValue;
}
public void setDictValue(String dictValue) {
this.dictValue = dictValue;
}
@Basic
@Column(name = "ParentCode", nullable = true, length = 200)
public String getParentCode() {
return parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
@Basic
@Column(name = "OrderIndex", nullable = false)
public int getOrderIndex() {
return orderIndex;
}
public void setOrderIndex(int orderIndex) {
this.orderIndex = orderIndex;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "Remark", nullable = true, length = -1)
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Dictionary that = (Dictionary) o;
return orderIndex == that.orderIndex &&
isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(code, that.code) &&
Objects.equals(dictKey, that.dictKey) &&
Objects.equals(dictValue, that.dictValue) &&
Objects.equals(parentCode, that.parentCode) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(remark, that.remark);
}
@Override
public int hashCode() {
return Objects.hash(id, code, dictKey, dictValue, parentCode, orderIndex, isActive, createTime, updateTime, remark);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class Dimension {
private String id;
private String name;
private String attributeId;
private short orderIndex;
private short isMandatory;
private short isActive;
private short isSystemDimension;
private String createBy;
private String updateBy;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = 200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "AttributeID", nullable = true, length = 128)
public String getAttributeId() {
return attributeId;
}
public void setAttributeId(String attributeId) {
this.attributeId = attributeId;
}
@Basic
@Column(name = "OrderIndex", nullable = false)
public short getOrderIndex() {
return orderIndex;
}
public void setOrderIndex(short orderIndex) {
this.orderIndex = orderIndex;
}
@Basic
@Column(name = "IsMandatory", nullable = false)
public short getIsMandatory() {
return isMandatory;
}
public void setIsMandatory(short isMandatory) {
this.isMandatory = isMandatory;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "IsSystemDimension", nullable = false)
public short getIsSystemDimension() {
return isSystemDimension;
}
public void setIsSystemDimension(short isSystemDimension) {
this.isSystemDimension = isSystemDimension;
}
@Basic
@Column(name = "CreateBy", nullable = false, length = 128)
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
@Basic
@Column(name = "UpdateBy", nullable = false, length = 128)
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Dimension dimension = (Dimension) o;
return orderIndex == dimension.orderIndex &&
isMandatory == dimension.isMandatory &&
isActive == dimension.isActive &&
isSystemDimension == dimension.isSystemDimension &&
Objects.equals(id, dimension.id) &&
Objects.equals(name, dimension.name) &&
Objects.equals(attributeId, dimension.attributeId) &&
Objects.equals(createBy, dimension.createBy) &&
Objects.equals(updateBy, dimension.updateBy) &&
Objects.equals(createTime, dimension.createTime) &&
Objects.equals(updateTime, dimension.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, name, attributeId, orderIndex, isMandatory, isActive, isSystemDimension, createBy, updateBy, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DimensionValue {
private String id;
private String name;
private short isActive;
private String dimensionId;
private Timestamp createTime;
private Timestamp updateTime;
private String createBy;
private String updateBy;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = 100)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "DimensionID", nullable = false, length = 128)
public String getDimensionId() {
return dimensionId;
}
public void setDimensionId(String dimensionId) {
this.dimensionId = dimensionId;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Basic
@Column(name = "CreateBy", nullable = false, length = 128)
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
@Basic
@Column(name = "UpdateBy", nullable = false, length = 128)
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DimensionValue that = (DimensionValue) o;
return isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(dimensionId, that.dimensionId) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime) &&
Objects.equals(createBy, that.createBy) &&
Objects.equals(updateBy, that.updateBy);
}
@Override
public int hashCode() {
return Objects.hash(id, name, isActive, dimensionId, createTime, updateTime, createBy, updateBy);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class DimensionValueOrg {
private String id;
private String dimensionValueId;
private String organizationId;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "DimensionValueID", nullable = false, length = 128)
public String getDimensionValueId() {
return dimensionValueId;
}
public void setDimensionValueId(String dimensionValueId) {
this.dimensionValueId = dimensionValueId;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DimensionValueOrg that = (DimensionValueOrg) o;
return Objects.equals(id, that.id) &&
Objects.equals(dimensionValueId, that.dimensionValueId) &&
Objects.equals(organizationId, that.organizationId);
}
@Override
public int hashCode() {
return Objects.hash(id, dimensionValueId, organizationId);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class DocumentManage {
private String id;
private int documentTypeId;
private String code;
private String fileId;
private int serviceTypeId;
private String projectId;
private Integer periodId;
private short isActive;
private String organizationId;
private Timestamp expiredFrom;
private Timestamp expriedTo;
private String nameCode;
private String projectCode;
private BigDecimal amount;
@Id
@Column(name = "Id", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "DocumentTypeId", nullable = false)
public int getDocumentTypeId() {
return documentTypeId;
}
public void setDocumentTypeId(int documentTypeId) {
this.documentTypeId = documentTypeId;
}
@Basic
@Column(name = "Code", nullable = false, length = 200)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Basic
@Column(name = "FileId", nullable = false, length = 128)
public String getFileId() {
return fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
@Basic
@Column(name = "ServiceTypeId", nullable = false)
public int getServiceTypeId() {
return serviceTypeId;
}
public void setServiceTypeId(int serviceTypeId) {
this.serviceTypeId = serviceTypeId;
}
@Basic
@Column(name = "ProjectId", nullable = true, length = 128)
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
@Basic
@Column(name = "PeriodId", nullable = true)
public Integer getPeriodId() {
return periodId;
}
public void setPeriodId(Integer periodId) {
this.periodId = periodId;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "OrganizationId", nullable = true, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "ExpiredFrom", nullable = true)
public Timestamp getExpiredFrom() {
return expiredFrom;
}
public void setExpiredFrom(Timestamp expiredFrom) {
this.expiredFrom = expiredFrom;
}
@Basic
@Column(name = "ExpriedTo", nullable = true)
public Timestamp getExpriedTo() {
return expriedTo;
}
public void setExpriedTo(Timestamp expriedTo) {
this.expriedTo = expriedTo;
}
@Basic
@Column(name = "NameCode", nullable = true, length = 200)
public String getNameCode() {
return nameCode;
}
public void setNameCode(String nameCode) {
this.nameCode = nameCode;
}
@Basic
@Column(name = "ProjectCode", nullable = true, length = 200)
public String getProjectCode() {
return projectCode;
}
public void setProjectCode(String projectCode) {
this.projectCode = projectCode;
}
@Basic
@Column(name = "Amount", nullable = true, precision = 3)
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DocumentManage that = (DocumentManage) o;
return documentTypeId == that.documentTypeId &&
serviceTypeId == that.serviceTypeId &&
isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(code, that.code) &&
Objects.equals(fileId, that.fileId) &&
Objects.equals(projectId, that.projectId) &&
Objects.equals(periodId, that.periodId) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(expiredFrom, that.expiredFrom) &&
Objects.equals(expriedTo, that.expriedTo) &&
Objects.equals(nameCode, that.nameCode) &&
Objects.equals(projectCode, that.projectCode) &&
Objects.equals(amount, that.amount);
}
@Override
public int hashCode() {
return Objects.hash(id, documentTypeId, code, fileId, serviceTypeId, projectId, periodId, isActive, organizationId, expiredFrom, expriedTo, nameCode, projectCode, amount);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class EnterpriseAccount {
private String id;
private String code;
private String name;
private String parentCode;
private String fullName;
private Integer acctProp;
private Integer subProp;
private Integer acctLevel;
private int direction;
private short isLeaf;
private int ruleType;
private short isActive;
private String englishName;
private String stdCode;
private String enterpriseAccountSetId;
private String creatorId;
private String updatorId;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Code", nullable = false, length = 50)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Basic
@Column(name = "Name", nullable = false, length = 200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "ParentCode", nullable = true, length = 50)
public String getParentCode() {
return parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
@Basic
@Column(name = "FullName", nullable = true, length = 200)
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
@Basic
@Column(name = "AcctProp", nullable = true)
public Integer getAcctProp() {
return acctProp;
}
public void setAcctProp(Integer acctProp) {
this.acctProp = acctProp;
}
@Basic
@Column(name = "SubProp", nullable = true)
public Integer getSubProp() {
return subProp;
}
public void setSubProp(Integer subProp) {
this.subProp = subProp;
}
@Basic
@Column(name = "AcctLevel", nullable = true)
public Integer getAcctLevel() {
return acctLevel;
}
public void setAcctLevel(Integer acctLevel) {
this.acctLevel = acctLevel;
}
@Basic
@Column(name = "Direction", nullable = false)
public int getDirection() {
return direction;
}
public void setDirection(int direction) {
this.direction = direction;
}
@Basic
@Column(name = "IsLeaf", nullable = false)
public short getIsLeaf() {
return isLeaf;
}
public void setIsLeaf(short isLeaf) {
this.isLeaf = isLeaf;
}
@Basic
@Column(name = "RuleType", nullable = false)
public int getRuleType() {
return ruleType;
}
public void setRuleType(int ruleType) {
this.ruleType = ruleType;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "EnglishName", nullable = true, length = 200)
public String getEnglishName() {
return englishName;
}
public void setEnglishName(String englishName) {
this.englishName = englishName;
}
@Basic
@Column(name = "StdCode", nullable = true, length = 50)
public String getStdCode() {
return stdCode;
}
public void setStdCode(String stdCode) {
this.stdCode = stdCode;
}
@Basic
@Column(name = "EnterpriseAccountSetID", nullable = false, length = 128)
public String getEnterpriseAccountSetId() {
return enterpriseAccountSetId;
}
public void setEnterpriseAccountSetId(String enterpriseAccountSetId) {
this.enterpriseAccountSetId = enterpriseAccountSetId;
}
@Basic
@Column(name = "CreatorID", nullable = false, length = 128)
public String getCreatorId() {
return creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
@Basic
@Column(name = "UpdatorID", nullable = false, length = 128)
public String getUpdatorId() {
return updatorId;
}
public void setUpdatorId(String updatorId) {
this.updatorId = updatorId;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EnterpriseAccount that = (EnterpriseAccount) o;
return direction == that.direction &&
isLeaf == that.isLeaf &&
ruleType == that.ruleType &&
isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(code, that.code) &&
Objects.equals(name, that.name) &&
Objects.equals(parentCode, that.parentCode) &&
Objects.equals(fullName, that.fullName) &&
Objects.equals(acctProp, that.acctProp) &&
Objects.equals(subProp, that.subProp) &&
Objects.equals(acctLevel, that.acctLevel) &&
Objects.equals(englishName, that.englishName) &&
Objects.equals(stdCode, that.stdCode) &&
Objects.equals(enterpriseAccountSetId, that.enterpriseAccountSetId) &&
Objects.equals(creatorId, that.creatorId) &&
Objects.equals(updatorId, that.updatorId) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, code, name, parentCode, fullName, acctProp, subProp, acctLevel, direction, isLeaf, ruleType, isActive, englishName, stdCode, enterpriseAccountSetId, creatorId, updatorId, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class EnterpriseAccountSet {
private String id;
private String code;
private String name;
private short isActive;
private String creatorId;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Code", nullable = false, length = 50)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Basic
@Column(name = "Name", nullable = false, length = -1)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "CreatorID", nullable = false, length = 128)
public String getCreatorId() {
return creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EnterpriseAccountSet that = (EnterpriseAccountSet) o;
return isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(code, that.code) &&
Objects.equals(name, that.name) &&
Objects.equals(creatorId, that.creatorId) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, code, name, isActive, creatorId, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class EnterpriseAccountSetOrg {
private String id;
private String enterpriseAccountSetId;
private String organizationId;
private Timestamp effectiveDate;
private Timestamp expiredDate;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "EnterpriseAccountSetID", nullable = false, length = 128)
public String getEnterpriseAccountSetId() {
return enterpriseAccountSetId;
}
public void setEnterpriseAccountSetId(String enterpriseAccountSetId) {
this.enterpriseAccountSetId = enterpriseAccountSetId;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "EffectiveDate", nullable = true)
public Timestamp getEffectiveDate() {
return effectiveDate;
}
public void setEffectiveDate(Timestamp effectiveDate) {
this.effectiveDate = effectiveDate;
}
@Basic
@Column(name = "ExpiredDate", nullable = true)
public Timestamp getExpiredDate() {
return expiredDate;
}
public void setExpiredDate(Timestamp expiredDate) {
this.expiredDate = expiredDate;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EnterpriseAccountSetOrg that = (EnterpriseAccountSetOrg) o;
return Objects.equals(id, that.id) &&
Objects.equals(enterpriseAccountSetId, that.enterpriseAccountSetId) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(effectiveDate, that.effectiveDate) &&
Objects.equals(expiredDate, that.expiredDate);
}
@Override
public int hashCode() {
return Objects.hash(id, enterpriseAccountSetId, organizationId, effectiveDate, expiredDate);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class EntriesCheckDetail {
private String id;
private String modelId;
private int guideLine;
private String acctJudge;
private String standardCode;
private Integer acctDirection;
private String entriesComparison;
private BigDecimal thresholdValue;
private String summary;
private int isRelevantAmt;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "ModelID", nullable = false, length = 128)
public String getModelId() {
return modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
@Basic
@Column(name = "GuideLine", nullable = false)
public int getGuideLine() {
return guideLine;
}
public void setGuideLine(int guideLine) {
this.guideLine = guideLine;
}
@Basic
@Column(name = "AcctJudge", nullable = false, length = 10)
public String getAcctJudge() {
return acctJudge;
}
public void setAcctJudge(String acctJudge) {
this.acctJudge = acctJudge;
}
@Basic
@Column(name = "StandardCode", nullable = true, length = 10)
public String getStandardCode() {
return standardCode;
}
public void setStandardCode(String standardCode) {
this.standardCode = standardCode;
}
@Basic
@Column(name = "AcctDirection", nullable = true)
public Integer getAcctDirection() {
return acctDirection;
}
public void setAcctDirection(Integer acctDirection) {
this.acctDirection = acctDirection;
}
@Basic
@Column(name = "EntriesComparison", nullable = true, length = 10)
public String getEntriesComparison() {
return entriesComparison;
}
public void setEntriesComparison(String entriesComparison) {
this.entriesComparison = entriesComparison;
}
@Basic
@Column(name = "ThresholdValue", nullable = false, precision = 3)
public BigDecimal getThresholdValue() {
return thresholdValue;
}
public void setThresholdValue(BigDecimal thresholdValue) {
this.thresholdValue = thresholdValue;
}
@Basic
@Column(name = "Summary", nullable = true, length = -1)
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
@Basic
@Column(name = "IsRelevantAmt", nullable = false)
public int getIsRelevantAmt() {
return isRelevantAmt;
}
public void setIsRelevantAmt(int isRelevantAmt) {
this.isRelevantAmt = isRelevantAmt;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EntriesCheckDetail that = (EntriesCheckDetail) o;
return guideLine == that.guideLine &&
isRelevantAmt == that.isRelevantAmt &&
Objects.equals(id, that.id) &&
Objects.equals(modelId, that.modelId) &&
Objects.equals(acctJudge, that.acctJudge) &&
Objects.equals(standardCode, that.standardCode) &&
Objects.equals(acctDirection, that.acctDirection) &&
Objects.equals(entriesComparison, that.entriesComparison) &&
Objects.equals(thresholdValue, that.thresholdValue) &&
Objects.equals(summary, that.summary) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, modelId, guideLine, acctJudge, standardCode, acctDirection, entriesComparison, thresholdValue, summary, isRelevantAmt, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class FileUpload {
private String id;
private String filePath;
private String fileName;
private String fileType;
private String creatorId;
private Timestamp createTime;
private Timestamp expiredDate;
private String comments;
private short isActive;
@Id
@Column(name = "Id", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "FilePath", nullable = false, length = -1)
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
@Basic
@Column(name = "FileName", nullable = false, length = -1)
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
@Basic
@Column(name = "FileType", nullable = true, length = 50)
public String getFileType() {
return fileType;
}
public void setFileType(String fileType) {
this.fileType = fileType;
}
@Basic
@Column(name = "CreatorID", nullable = true, length = 128)
public String getCreatorId() {
return creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
@Basic
@Column(name = "CreateTime", nullable = true)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "ExpiredDate", nullable = true)
public Timestamp getExpiredDate() {
return expiredDate;
}
public void setExpiredDate(Timestamp expiredDate) {
this.expiredDate = expiredDate;
}
@Basic
@Column(name = "Comments", nullable = true, length = -1)
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
@Basic
@Column(name = "IsActive", nullable = false)
public short getIsActive() {
return isActive;
}
public void setIsActive(short isActive) {
this.isActive = isActive;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FileUpload that = (FileUpload) o;
return isActive == that.isActive &&
Objects.equals(id, that.id) &&
Objects.equals(filePath, that.filePath) &&
Objects.equals(fileName, that.fileName) &&
Objects.equals(fileType, that.fileType) &&
Objects.equals(creatorId, that.creatorId) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(expiredDate, that.expiredDate) &&
Objects.equals(comments, that.comments);
}
@Override
public int hashCode() {
return Objects.hash(id, filePath, fileName, fileType, creatorId, createTime, expiredDate, comments, isActive);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class FormulaConfig {
private String id;
private String formulaName;
private String description;
private int calculateStatus;
private Integer dataSourceType;
private String dataSourceName;
private String chineseName;
private String englishName;
private String serviceType;
private String industry;
private Integer requiredParamNum;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "FormulaName", nullable = false, length = -1)
public String getFormulaName() {
return formulaName;
}
public void setFormulaName(String formulaName) {
this.formulaName = formulaName;
}
@Basic
@Column(name = "Description", nullable = false, length = -1)
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Basic
@Column(name = "CalculateStatus", nullable = false)
public int getCalculateStatus() {
return calculateStatus;
}
public void setCalculateStatus(int calculateStatus) {
this.calculateStatus = calculateStatus;
}
@Basic
@Column(name = "DataSourceType", nullable = true)
public Integer getDataSourceType() {
return dataSourceType;
}
public void setDataSourceType(Integer dataSourceType) {
this.dataSourceType = dataSourceType;
}
@Basic
@Column(name = "DataSourceName", nullable = true, length = -1)
public String getDataSourceName() {
return dataSourceName;
}
public void setDataSourceName(String dataSourceName) {
this.dataSourceName = dataSourceName;
}
@Basic
@Column(name = "ChineseName", nullable = true, length = -1)
public String getChineseName() {
return chineseName;
}
public void setChineseName(String chineseName) {
this.chineseName = chineseName;
}
@Basic
@Column(name = "EnglishName", nullable = true, length = -1)
public String getEnglishName() {
return englishName;
}
public void setEnglishName(String englishName) {
this.englishName = englishName;
}
@Basic
@Column(name = "ServiceType", nullable = true, length = 128)
public String getServiceType() {
return serviceType;
}
public void setServiceType(String serviceType) {
this.serviceType = serviceType;
}
@Basic
@Column(name = "Industry", nullable = true, length = 128)
public String getIndustry() {
return industry;
}
public void setIndustry(String industry) {
this.industry = industry;
}
@Basic
@Column(name = "RequiredParamNum", nullable = true)
public Integer getRequiredParamNum() {
return requiredParamNum;
}
public void setRequiredParamNum(Integer requiredParamNum) {
this.requiredParamNum = requiredParamNum;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FormulaConfig that = (FormulaConfig) o;
return calculateStatus == that.calculateStatus &&
Objects.equals(id, that.id) &&
Objects.equals(formulaName, that.formulaName) &&
Objects.equals(description, that.description) &&
Objects.equals(dataSourceType, that.dataSourceType) &&
Objects.equals(dataSourceName, that.dataSourceName) &&
Objects.equals(chineseName, that.chineseName) &&
Objects.equals(englishName, that.englishName) &&
Objects.equals(serviceType, that.serviceType) &&
Objects.equals(industry, that.industry) &&
Objects.equals(requiredParamNum, that.requiredParamNum);
}
@Override
public int hashCode() {
return Objects.hash(id, formulaName, description, calculateStatus, dataSourceType, dataSourceName, chineseName, englishName, serviceType, industry, requiredParamNum);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class FormulaParamConfig {
private String id;
private String name;
private String displayFormat;
private int paramType;
private int paramDataType;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "Name", nullable = false, length = -1)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "DisplayFormat", nullable = true, length = -1)
public String getDisplayFormat() {
return displayFormat;
}
public void setDisplayFormat(String displayFormat) {
this.displayFormat = displayFormat;
}
@Basic
@Column(name = "ParamType", nullable = false)
public int getParamType() {
return paramType;
}
public void setParamType(int paramType) {
this.paramType = paramType;
}
@Basic
@Column(name = "ParamDataType", nullable = false)
public int getParamDataType() {
return paramDataType;
}
public void setParamDataType(int paramDataType) {
this.paramDataType = paramDataType;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FormulaParamConfig that = (FormulaParamConfig) o;
return paramType == that.paramType &&
paramDataType == that.paramDataType &&
Objects.equals(id, that.id) &&
Objects.equals(name, that.name) &&
Objects.equals(displayFormat, that.displayFormat);
}
@Override
public int hashCode() {
return Objects.hash(id, name, displayFormat, paramType, paramDataType);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class FormulaParamMapping {
private String id;
private String formulaId;
private String formulaParamId;
private int paramIndex;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "FormulaID", nullable = false, length = 128)
public String getFormulaId() {
return formulaId;
}
public void setFormulaId(String formulaId) {
this.formulaId = formulaId;
}
@Basic
@Column(name = "FormulaParamID", nullable = false, length = 128)
public String getFormulaParamId() {
return formulaParamId;
}
public void setFormulaParamId(String formulaParamId) {
this.formulaParamId = formulaParamId;
}
@Basic
@Column(name = "ParamIndex", nullable = false)
public int getParamIndex() {
return paramIndex;
}
public void setParamIndex(int paramIndex) {
this.paramIndex = paramIndex;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FormulaParamMapping that = (FormulaParamMapping) o;
return paramIndex == that.paramIndex &&
Objects.equals(id, that.id) &&
Objects.equals(formulaId, that.formulaId) &&
Objects.equals(formulaParamId, that.formulaParamId);
}
@Override
public int hashCode() {
return Objects.hash(id, formulaId, formulaParamId, paramIndex);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class FormulaParamOption {
private String id;
private String formulaParamId;
private String value;
private String name;
private String shortName;
private int optionIndex;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "FormulaParamID", nullable = false, length = 128)
public String getFormulaParamId() {
return formulaParamId;
}
public void setFormulaParamId(String formulaParamId) {
this.formulaParamId = formulaParamId;
}
@Basic
@Column(name = "Value", nullable = false, length = -1)
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Basic
@Column(name = "Name", nullable = false, length = -1)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "ShortName", nullable = false, length = -1)
public String getShortName() {
return shortName;
}
public void setShortName(String shortName) {
this.shortName = shortName;
}
@Basic
@Column(name = "OptionIndex", nullable = false)
public int getOptionIndex() {
return optionIndex;
}
public void setOptionIndex(int optionIndex) {
this.optionIndex = optionIndex;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FormulaParamOption that = (FormulaParamOption) o;
return optionIndex == that.optionIndex &&
Objects.equals(id, that.id) &&
Objects.equals(formulaParamId, that.formulaParamId) &&
Objects.equals(value, that.value) &&
Objects.equals(name, that.name) &&
Objects.equals(shortName, that.shortName);
}
@Override
public int hashCode() {
return Objects.hash(id, formulaParamId, value, name, shortName, optionIndex);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class IndexAnalysisDetail {
private String id;
private String modelId;
private String indexName;
private String indexFormula;
private int sequence;
private int displayType;
private int isVisible;
private int isMainValue;
private int isYearValue;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "ModelID", nullable = false, length = 128)
public String getModelId() {
return modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
@Basic
@Column(name = "IndexName", nullable = false, length = 50)
public String getIndexName() {
return indexName;
}
public void setIndexName(String indexName) {
this.indexName = indexName;
}
@Basic
@Column(name = "IndexFormula", nullable = false, length = -1)
public String getIndexFormula() {
return indexFormula;
}
public void setIndexFormula(String indexFormula) {
this.indexFormula = indexFormula;
}
@Basic
@Column(name = "Sequence", nullable = false)
public int getSequence() {
return sequence;
}
public void setSequence(int sequence) {
this.sequence = sequence;
}
@Basic
@Column(name = "DisplayType", nullable = false)
public int getDisplayType() {
return displayType;
}
public void setDisplayType(int displayType) {
this.displayType = displayType;
}
@Basic
@Column(name = "IsVisible", nullable = false)
public int getIsVisible() {
return isVisible;
}
public void setIsVisible(int isVisible) {
this.isVisible = isVisible;
}
@Basic
@Column(name = "IsMainValue", nullable = false)
public int getIsMainValue() {
return isMainValue;
}
public void setIsMainValue(int isMainValue) {
this.isMainValue = isMainValue;
}
@Basic
@Column(name = "IsYearValue", nullable = false)
public int getIsYearValue() {
return isYearValue;
}
public void setIsYearValue(int isYearValue) {
this.isYearValue = isYearValue;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
IndexAnalysisDetail that = (IndexAnalysisDetail) o;
return sequence == that.sequence &&
displayType == that.displayType &&
isVisible == that.isVisible &&
isMainValue == that.isMainValue &&
isYearValue == that.isYearValue &&
Objects.equals(id, that.id) &&
Objects.equals(modelId, that.modelId) &&
Objects.equals(indexName, that.indexName) &&
Objects.equals(indexFormula, that.indexFormula) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, modelId, indexName, indexFormula, sequence, displayType, isVisible, isMainValue, isYearValue, createTime, updateTime);
}
}
package pwc.taxtech.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
public class IndexAnalysisResultSummary {
private String id;
private String resultId;
private int year;
private int period;
private String organizationId;
private String serviceTypeId;
private String modelId;
private String categoryId;
private String modelCode;
private String modelName;
private String description;
private int type;
private int isYearValue;
private int monthExp;
private int yearExp;
private Timestamp createTime;
private Timestamp updateTime;
@Id
@Column(name = "ID", nullable = false, length = 128)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Basic
@Column(name = "ResultID", nullable = false, length = 128)
public String getResultId() {
return resultId;
}
public void setResultId(String resultId) {
this.resultId = resultId;
}
@Basic
@Column(name = "Year", nullable = false)
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = year;
}
@Basic
@Column(name = "Period", nullable = false)
public int getPeriod() {
return period;
}
public void setPeriod(int period) {
this.period = period;
}
@Basic
@Column(name = "OrganizationID", nullable = false, length = 128)
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
@Basic
@Column(name = "ServiceTypeID", nullable = false, length = 128)
public String getServiceTypeId() {
return serviceTypeId;
}
public void setServiceTypeId(String serviceTypeId) {
this.serviceTypeId = serviceTypeId;
}
@Basic
@Column(name = "ModelID", nullable = false, length = 128)
public String getModelId() {
return modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
@Basic
@Column(name = "CategoryID", nullable = false, length = 128)
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId;
}
@Basic
@Column(name = "ModelCode", nullable = false, length = 20)
public String getModelCode() {
return modelCode;
}
public void setModelCode(String modelCode) {
this.modelCode = modelCode;
}
@Basic
@Column(name = "ModelName", nullable = false, length = 50)
public String getModelName() {
return modelName;
}
public void setModelName(String modelName) {
this.modelName = modelName;
}
@Basic
@Column(name = "Description", nullable = true, length = -1)
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Basic
@Column(name = "Type", nullable = false)
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
@Basic
@Column(name = "IsYearValue", nullable = false)
public int getIsYearValue() {
return isYearValue;
}
public void setIsYearValue(int isYearValue) {
this.isYearValue = isYearValue;
}
@Basic
@Column(name = "MonthExp", nullable = false)
public int getMonthExp() {
return monthExp;
}
public void setMonthExp(int monthExp) {
this.monthExp = monthExp;
}
@Basic
@Column(name = "YearExp", nullable = false)
public int getYearExp() {
return yearExp;
}
public void setYearExp(int yearExp) {
this.yearExp = yearExp;
}
@Basic
@Column(name = "CreateTime", nullable = false)
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
@Basic
@Column(name = "UpdateTime", nullable = false)
public Timestamp getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
IndexAnalysisResultSummary that = (IndexAnalysisResultSummary) o;
return year == that.year &&
period == that.period &&
type == that.type &&
isYearValue == that.isYearValue &&
monthExp == that.monthExp &&
yearExp == that.yearExp &&
Objects.equals(id, that.id) &&
Objects.equals(resultId, that.resultId) &&
Objects.equals(organizationId, that.organizationId) &&
Objects.equals(serviceTypeId, that.serviceTypeId) &&
Objects.equals(modelId, that.modelId) &&
Objects.equals(categoryId, that.categoryId) &&
Objects.equals(modelCode, that.modelCode) &&
Objects.equals(modelName, that.modelName) &&
Objects.equals(description, that.description) &&
Objects.equals(createTime, that.createTime) &&
Objects.equals(updateTime, that.updateTime);
}
@Override
public int hashCode() {
return Objects.hash(id, resultId, year, period, organizationId, serviceTypeId, modelId, categoryId, modelCode, modelName, description, type, isYearValue, monthExp, yearExp, createTime, updateTime);
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment