diff options
Diffstat (limited to 'appmarket-model')
20 files changed, 5794 insertions, 0 deletions
diff --git a/appmarket-model/pom.xml b/appmarket-model/pom.xml new file mode 100644 index 0000000..2466a03 --- /dev/null +++ b/appmarket-model/pom.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>app.market</groupId> + <artifactId>appmarket-root</artifactId> + <version>0.0.1-SNAPSHOT</version> + </parent> + <artifactId>appmarket-model</artifactId> + <packaging>jar</packaging> + <name>appmarket-model</name> + <url>http://maven.apache.org</url> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + <!-- mybatis --> + <dependency> + <groupId>org.mybatis</groupId> + <artifactId>mybatis</artifactId> + <version>3.3.0</version> + </dependency> + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-mapper-asl</artifactId> + <version>1.9.13</version> + </dependency> + </dependencies> +</project> diff --git a/appmarket-model/src/main/java/app/market/model/TokenModel.java b/appmarket-model/src/main/java/app/market/model/TokenModel.java new file mode 100644 index 0000000..c83be0b --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/TokenModel.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model; + +import java.io.Serializable; + +import org.codehaus.jackson.annotate.JsonIgnore; + +public class TokenModel implements Serializable { + + private static final long serialVersionUID = 1711424664832625281L; + + @JsonIgnore + private String token; + + @JsonIgnore + private String servletPath; + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getServletPath() { + return servletPath; + } + + public void setServletPath(String servletPath) { + this.servletPath = servletPath; + } + +} diff --git a/appmarket-model/src/main/java/app/market/model/app/App.java b/appmarket-model/src/main/java/app/market/model/app/App.java new file mode 100644 index 0000000..4bc1673 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/app/App.java @@ -0,0 +1,247 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.app; + +import java.util.Date; + +import app.market.model.TokenModel; + +public class App extends TokenModel{ + /** + * + */ + private static final long serialVersionUID = -8859096814674858740L; + + private String appId; + + private String appName; + + private String appAbstract; + + private String typeId; + + private String typeName; + + private String appDeviceTypeId; + + private String appDeviceTypeName; + + private String developer; + + private String developerName; + + private String versionName; + + private String appVersionId; + + private String verFilePath; + + private int verFileSize; + + private Date verCreateDate; + + private Date createDate; + + private Date updateDate; + + private String isDel; + + private String hashcode; + + private String appIsPublic; + + private String appIsPublicLable; + + private String appIdCustom; + + private String imagePath; + + public String getImagePath() { + return imagePath; + } + + public void setImagePath(String imagePath) { + this.imagePath = imagePath; + } + + public String getAppId() { + return appId; + } + + public void setAppId(String appId) { + this.appId = appId == null ? null : appId.trim(); + } + + public String getAppName() { + return appName; + } + + public void setAppName(String appName) { + this.appName = appName == null ? null : appName.trim(); + } + + public String getAppAbstract() { + return appAbstract; + } + + public void setAppAbstract(String appAbstract) { + this.appAbstract = appAbstract == null ? null : appAbstract.trim(); + } + + public String getTypeId() { + return typeId; + } + + public void setTypeId(String typeId) { + this.typeId = typeId == null ? null : typeId.trim(); + } + + public String getAppDeviceTypeId() { + return appDeviceTypeId; + } + + public void setAppDeviceTypeId(String appDeviceTypeId) { + this.appDeviceTypeId = appDeviceTypeId == null ? null : appDeviceTypeId.trim(); + } + + public String getDeveloper() { + return developer; + } + + public void setDeveloper(String developer) { + this.developer = developer == null ? null : developer.trim(); + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } + + public Date getUpdateDate() { + return updateDate; + } + + public void setUpdateDate(Date updateDate) { + this.updateDate = updateDate; + } + + public String getIsDel() { + return isDel; + } + + public void setIsDel(String isDel) { + this.isDel = isDel == null ? null : isDel.trim(); + } + + public String getTypeName() { + return typeName; + } + + public void setTypeName(String typeName) { + this.typeName = typeName; + } + + public String getDeveloperName() { + return developerName; + } + + public void setDeveloperName(String developerName) { + this.developerName = developerName; + } + + public String getVerFilePath() { + return verFilePath; + } + + public void setVerFilePath(String verFilePath) { + this.verFilePath = verFilePath; + } + + public int getVerFileSize() { + return verFileSize; + } + + public void setVerFileSize(int verFileSize) { + this.verFileSize = verFileSize; + } + + public Date getVerCreateDate() { + return verCreateDate; + } + + public void setVerCreateDate(Date verCreateDate) { + this.verCreateDate = verCreateDate; + } + + public String getHashcode() { + return hashcode; + } + + public void setHashcode(String hashcode) { + this.hashcode = hashcode; + } + + public String getAppIsPublic() { + return appIsPublic; + } + + public void setAppIsPublic(String appIsPublic) { + this.appIsPublic = appIsPublic == null ? null : appIsPublic.trim(); + } + + public String getAppDeviceTypeName() { + return appDeviceTypeName; + } + + public void setAppDeviceTypeName(String appDeviceTypeName) { + this.appDeviceTypeName = appDeviceTypeName; + } + + public String getAppIsPublicLable() { + return appIsPublicLable; + } + + public void setAppIsPublicLable(String appIsPublicLable) { + this.appIsPublicLable = appIsPublicLable; + } + + public String getVersionName() { + return versionName; + } + + public String getAppVersionId() { + return appVersionId; + } + + public void setAppVersionId(String appVersionId) { + this.appVersionId = appVersionId; + } + + public String getAppIdCustom() { + return appIdCustom; + } + + public void setAppIdCustom(String appIdCustom) { + this.appIdCustom = appIdCustom == null ? null : appIdCustom.trim(); + } + public void setVersionName(String versionName) { + this.versionName = versionName; + } + +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/app/AppExample.java b/appmarket-model/src/main/java/app/market/model/app/AppExample.java new file mode 100644 index 0000000..5101d8b --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/app/AppExample.java @@ -0,0 +1,1049 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.app; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import app.market.model.TokenModel; + +public class AppExample extends TokenModel{ + + /** + * + */ + private static final long serialVersionUID = 7069779194904235176L; + + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public AppExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andAppIdIsNull() { + addCriterion("APP_ID is null"); + return (Criteria) this; + } + + public Criteria andAppIdIsNotNull() { + addCriterion("APP_ID is not null"); + return (Criteria) this; + } + + public Criteria andAppIdEqualTo(String value) { + addCriterion("APP_ID =", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdNotEqualTo(String value) { + addCriterion("APP_ID <>", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdGreaterThan(String value) { + addCriterion("APP_ID >", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdGreaterThanOrEqualTo(String value) { + addCriterion("APP_ID >=", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdLessThan(String value) { + addCriterion("APP_ID <", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdLessThanOrEqualTo(String value) { + addCriterion("APP_ID <=", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdLike(String value) { + addCriterion("APP_ID like", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdNotLike(String value) { + addCriterion("APP_ID not like", value, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdIn(List<String> values) { + addCriterion("APP_ID in", values, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdNotIn(List<String> values) { + addCriterion("APP_ID not in", values, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdBetween(String value1, String value2) { + addCriterion("APP_ID between", value1, value2, "appId"); + return (Criteria) this; + } + + public Criteria andAppIdNotBetween(String value1, String value2) { + addCriterion("APP_ID not between", value1, value2, "appId"); + return (Criteria) this; + } + + public Criteria andAppNameIsNull() { + addCriterion("APP_NAME is null"); + return (Criteria) this; + } + + public Criteria andAppNameIsNotNull() { + addCriterion("APP_NAME is not null"); + return (Criteria) this; + } + + public Criteria andAppNameEqualTo(String value) { + addCriterion("APP_NAME =", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameNotEqualTo(String value) { + addCriterion("APP_NAME <>", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameGreaterThan(String value) { + addCriterion("APP_NAME >", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameGreaterThanOrEqualTo(String value) { + addCriterion("APP_NAME >=", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameLessThan(String value) { + addCriterion("APP_NAME <", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameLessThanOrEqualTo(String value) { + addCriterion("APP_NAME <=", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameLike(String value) { + addCriterion("APP_NAME like", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameNotLike(String value) { + addCriterion("APP_NAME not like", value, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameIn(List<String> values) { + addCriterion("APP_NAME in", values, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameNotIn(List<String> values) { + addCriterion("APP_NAME not in", values, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameBetween(String value1, String value2) { + addCriterion("APP_NAME between", value1, value2, "appName"); + return (Criteria) this; + } + + public Criteria andAppNameNotBetween(String value1, String value2) { + addCriterion("APP_NAME not between", value1, value2, "appName"); + return (Criteria) this; + } + + public Criteria andAbstractIsNull() { + addCriterion("APP_ABSTRACT is null"); + return (Criteria) this; + } + + public Criteria andAbstractIsNotNull() { + addCriterion("APP_ABSTRACT is not null"); + return (Criteria) this; + } + + public Criteria andAbstractEqualTo(String value) { + addCriterion("APP_ABSTRACT =", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractNotEqualTo(String value) { + addCriterion("APP_ABSTRACT <>", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractGreaterThan(String value) { + addCriterion("APP_ABSTRACT >", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractGreaterThanOrEqualTo(String value) { + addCriterion("APP_ABSTRACT >=", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractLessThan(String value) { + addCriterion("APP_ABSTRACT <", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractLessThanOrEqualTo(String value) { + addCriterion("APP_ABSTRACT <=", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractLike(String value) { + addCriterion("APP_ABSTRACT like", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractNotLike(String value) { + addCriterion("APP_ABSTRACT not like", value, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractIn(List<String> values) { + addCriterion("APP_ABSTRACT in", values, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractNotIn(List<String> values) { + addCriterion("APP_ABSTRACT not in", values, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractBetween(String value1, String value2) { + addCriterion("APP_ABSTRACT between", value1, value2, "abstract"); + return (Criteria) this; + } + + public Criteria andAbstractNotBetween(String value1, String value2) { + addCriterion("APP_ABSTRACT not between", value1, value2, "abstract"); + return (Criteria) this; + } + + public Criteria andTypeIdIsNull() { + addCriterion("APP_TYPE_ID is null"); + return (Criteria) this; + } + + public Criteria andTypeIdIsNotNull() { + addCriterion("APP_TYPE_ID is not null"); + return (Criteria) this; + } + + public Criteria andTypeIdEqualTo(String value) { + addCriterion("APP_TYPE_ID =", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdNotEqualTo(String value) { + addCriterion("APP_TYPE_ID <>", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdGreaterThan(String value) { + addCriterion("APP_TYPE_ID >", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdGreaterThanOrEqualTo(String value) { + addCriterion("APP_TYPE_ID >=", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdLessThan(String value) { + addCriterion("APP_TYPE_ID <", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdLessThanOrEqualTo(String value) { + addCriterion("APP_TYPE_ID <=", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdLike(String value) { + addCriterion("APP_TYPE_ID like", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdNotLike(String value) { + addCriterion("APP_TYPE_ID not like", value, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdIn(List<String> values) { + addCriterion("APP_TYPE_ID in", values, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdNotIn(List<String> values) { + addCriterion("APP_TYPE_ID not in", values, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdBetween(String value1, String value2) { + addCriterion("APP_TYPE_ID between", value1, value2, "typeId"); + return (Criteria) this; + } + + public Criteria andTypeIdNotBetween(String value1, String value2) { + addCriterion("APP_TYPE_ID not between", value1, value2, "typeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdIsNull() { + addCriterion("APP_DEVICE_TYPE_ID is null"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdIsNotNull() { + addCriterion("APP_DEVICE_TYPE_ID is not null"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdEqualTo(String value) { + addCriterion("APP_DEVICE_TYPE_ID =", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdNotEqualTo(String value) { + addCriterion("APP_DEVICE_TYPE_ID <>", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdGreaterThan(String value) { + addCriterion("APP_DEVICE_TYPE_ID >", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdGreaterThanOrEqualTo(String value) { + addCriterion("APP_DEVICE_TYPE_ID >=", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdLessThan(String value) { + addCriterion("APP_DEVICE_TYPE_ID <", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdLessThanOrEqualTo(String value) { + addCriterion("APP_DEVICE_TYPE_ID <=", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdLike(String value) { + addCriterion("APP_DEVICE_TYPE_ID like", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdNotLike(String value) { + addCriterion("APP_DEVICE_TYPE_ID not like", value, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdIn(List<String> values) { + addCriterion("APP_DEVICE_TYPE_ID in", values, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdNotIn(List<String> values) { + addCriterion("APP_DEVICE_TYPE_ID not in", values, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdBetween(String value1, String value2) { + addCriterion("APP_DEVICE_TYPE_ID between", value1, value2, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andAppDeviceTypeIdNotBetween(String value1, String value2) { + addCriterion("APP_DEVICE_TYPE_ID not between", value1, value2, "appDeviceTypeId"); + return (Criteria) this; + } + + public Criteria andDeveloperIsNull() { + addCriterion("DEVELOPER is null"); + return (Criteria) this; + } + + public Criteria andDeveloperIsNotNull() { + addCriterion("DEVELOPER is not null"); + return (Criteria) this; + } + + public Criteria andDeveloperEqualTo(String value) { + addCriterion("DEVELOPER =", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperNotEqualTo(String value) { + addCriterion("DEVELOPER <>", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperGreaterThan(String value) { + addCriterion("DEVELOPER >", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperGreaterThanOrEqualTo(String value) { + addCriterion("DEVELOPER >=", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperLessThan(String value) { + addCriterion("DEVELOPER <", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperLessThanOrEqualTo(String value) { + addCriterion("DEVELOPER <=", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperLike(String value) { + addCriterion("DEVELOPER like", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperNameLike(String value) { + addCriterion("USER_NAME like", value, "developerName"); + return (Criteria) this; + } + + public Criteria andDeveloperNotLike(String value) { + addCriterion("DEVELOPER not like", value, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperIn(List<String> values) { + addCriterion("DEVELOPER in", values, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperNotIn(List<String> values) { + addCriterion("DEVELOPER not in", values, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperBetween(String value1, String value2) { + addCriterion("DEVELOPER between", value1, value2, "developer"); + return (Criteria) this; + } + + public Criteria andDeveloperNotBetween(String value1, String value2) { + addCriterion("DEVELOPER not between", value1, value2, "developer"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNull() { + addCriterion("APP_CREATE_DATE is null"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNotNull() { + addCriterion("APP_CREATE_DATE is not null"); + return (Criteria) this; + } + + public Criteria andCreateDateEqualTo(Date value) { + addCriterion("APP_CREATE_DATE =", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotEqualTo(Date value) { + addCriterion("APP_CREATE_DATE <>", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThan(Date value) { + addCriterion("APP_CREATE_DATE >", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { + addCriterion("APP_CREATE_DATE >=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThan(Date value) { + addCriterion("APP_CREATE_DATE <", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThanOrEqualTo(Date value) { + addCriterion("APP_CREATE_DATE <=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateIn(List<Date> values) { + addCriterion("APP_CREATE_DATE in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotIn(List<Date> values) { + addCriterion("APP_CREATE_DATE not in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateBetween(Date value1, Date value2) { + addCriterion("APP_CREATE_DATE between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotBetween(Date value1, Date value2) { + addCriterion("APP_CREATE_DATE not between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateIsNull() { + addCriterion("APP_UPDATE_DATE is null"); + return (Criteria) this; + } + + public Criteria andUpdateDateIsNotNull() { + addCriterion("APP_UPDATE_DATE is not null"); + return (Criteria) this; + } + + public Criteria andUpdateDateEqualTo(Date value) { + addCriterion("APP_UPDATE_DATE =", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotEqualTo(Date value) { + addCriterion("APP_UPDATE_DATE <>", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateGreaterThan(Date value) { + addCriterion("APP_UPDATE_DATE >", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { + addCriterion("APP_UPDATE_DATE >=", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateLessThan(Date value) { + addCriterion("APP_UPDATE_DATE <", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateLessThanOrEqualTo(Date value) { + addCriterion("APP_UPDATE_DATE <=", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateIn(List<Date> values) { + addCriterion("APP_UPDATE_DATE in", values, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotIn(List<Date> values) { + addCriterion("APP_UPDATE_DATE not in", values, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateBetween(Date value1, Date value2) { + addCriterion("APP_UPDATE_DATE between", value1, value2, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotBetween(Date value1, Date value2) { + addCriterion("APP_UPDATE_DATE not between", value1, value2, "updateDate"); + return (Criteria) this; + } + + public Criteria andIsDelIsNull() { + addCriterion("APP_IS_DEL is null"); + return (Criteria) this; + } + + public Criteria andIsDelIsNotNull() { + addCriterion("APP_IS_DEL is not null"); + return (Criteria) this; + } + + public Criteria andIsDelEqualTo(String value) { + addCriterion("APP_IS_DEL =", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotEqualTo(String value) { + addCriterion("APP_IS_DEL <>", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThan(String value) { + addCriterion("APP_IS_DEL >", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThanOrEqualTo(String value) { + addCriterion("APP_IS_DEL >=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThan(String value) { + addCriterion("APP_IS_DEL <", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThanOrEqualTo(String value) { + addCriterion("APP_IS_DEL <=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLike(String value) { + addCriterion("APP_IS_DEL like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotLike(String value) { + addCriterion("APP_IS_DEL not like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelIn(List<String> values) { + addCriterion("APP_IS_DEL in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotIn(List<String> values) { + addCriterion("APP_IS_DEL not in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelBetween(String value1, String value2) { + addCriterion("APP_IS_DEL between", value1, value2, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotBetween(String value1, String value2) { + addCriterion("APP_IS_DEL not between", value1, value2, "isDel"); + return (Criteria) this; + } + + public Criteria andAppIsPublicIsNull() { + addCriterion("APP_IS_PUBLIC is null"); + return (Criteria) this; + } + + public Criteria andAppIsPublicIsNotNull() { + addCriterion("APP_IS_PUBLIC is not null"); + return (Criteria) this; + } + + public Criteria andAppIsPublicEqualTo(String value) { + addCriterion("APP_IS_PUBLIC =", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicNotEqualTo(String value) { + addCriterion("APP_IS_PUBLIC <>", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicGreaterThan(String value) { + addCriterion("APP_IS_PUBLIC >", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicGreaterThanOrEqualTo(String value) { + addCriterion("APP_IS_PUBLIC >=", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicLessThan(String value) { + addCriterion("APP_IS_PUBLIC <", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicLessThanOrEqualTo(String value) { + addCriterion("APP_IS_PUBLIC <=", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicLike(String value) { + addCriterion("APP_IS_PUBLIC like", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicNotLike(String value) { + addCriterion("APP_IS_PUBLIC not like", value, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicIn(List<String> values) { + addCriterion("APP_IS_PUBLIC in", values, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicNotIn(List<String> values) { + addCriterion("APP_IS_PUBLIC not in", values, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicBetween(String value1, String value2) { + addCriterion("APP_IS_PUBLIC between", value1, value2, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppIsPublicNotBetween(String value1, String value2) { + addCriterion("APP_IS_PUBLIC not between", value1, value2, "appIsPublic"); + return (Criteria) this; + } + + public Criteria andAppVersionIdIsNull() { + addCriterion("APP_VERSION_ID is null"); + return (Criteria) this; + } + + public Criteria andAppVersionIdIsNotNull() { + addCriterion("APP_VERSION_ID is not null"); + return (Criteria) this; + } + + public Criteria andAppVersionIdEqualTo(String value) { + addCriterion("APP_VERSION_ID =", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdNotEqualTo(String value) { + addCriterion("APP_VERSION_ID <>", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdGreaterThan(String value) { + addCriterion("APP_VERSION_ID >", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdGreaterThanOrEqualTo(String value) { + addCriterion("APP_VERSION_ID >=", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdLessThan(String value) { + addCriterion("APP_VERSION_ID <", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdLessThanOrEqualTo(String value) { + addCriterion("APP_VERSION_ID <=", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdLike(String value) { + addCriterion("APP_VERSION_ID like", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdNotLike(String value) { + addCriterion("APP_VERSION_ID not like", value, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdIn(List<String> values) { + addCriterion("APP_VERSION_ID in", values, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdNotIn(List<String> values) { + addCriterion("APP_VERSION_ID not in", values, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdBetween(String value1, String value2) { + addCriterion("APP_VERSION_ID between", value1, value2, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppVersionIdNotBetween(String value1, String value2) { + addCriterion("APP_VERSION_ID not between", value1, value2, "appVersionId"); + return (Criteria) this; + } + + public Criteria andAppIdCustomIsNull() { + addCriterion("APP_ID_CUSTOM is null"); + return (Criteria) this; + } + + public Criteria andAppIdCustomIsNotNull() { + addCriterion("APP_ID_CUSTOM is not null"); + return (Criteria) this; + } + + public Criteria andAppIdCustomEqualTo(String value) { + addCriterion("APP_ID_CUSTOM =", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomNotEqualTo(String value) { + addCriterion("APP_ID_CUSTOM <>", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomGreaterThan(String value) { + addCriterion("APP_ID_CUSTOM >", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomGreaterThanOrEqualTo(String value) { + addCriterion("APP_ID_CUSTOM >=", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomLessThan(String value) { + addCriterion("APP_ID_CUSTOM <", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomLessThanOrEqualTo(String value) { + addCriterion("APP_ID_CUSTOM <=", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomLike(String value) { + addCriterion("APP_ID_CUSTOM like", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomNotLike(String value) { + addCriterion("APP_ID_CUSTOM not like", value, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomIn(List<String> values) { + addCriterion("APP_ID_CUSTOM in", values, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomNotIn(List<String> values) { + addCriterion("APP_ID_CUSTOM not in", values, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomBetween(String value1, String value2) { + addCriterion("APP_ID_CUSTOM between", value1, value2, "appIdCustom"); + return (Criteria) this; + } + + public Criteria andAppIdCustomNotBetween(String value1, String value2) { + addCriterion("APP_ID_CUSTOM not between", value1, value2, "appIdCustom"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/app/AppVersion.java b/appmarket-model/src/main/java/app/market/model/app/AppVersion.java new file mode 100644 index 0000000..67b401c --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/app/AppVersion.java @@ -0,0 +1,119 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.app; + +import java.util.Date; + +public class AppVersion { + private String versionId; + + private String vAppId; + + private String versionName; + + private Integer size; + + private String comment; + + private String filePath; + + private String md5; + + private Date versionCreateDate; + + private String versionIsDel; + private String imagePath; + + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId == null ? null : versionId.trim(); + } + + public String getvAppId() { + return vAppId; + } + + public void setvAppId(String vAppId) { + this.vAppId = vAppId == null ? null : vAppId.trim(); + } + + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName == null ? null : versionName.trim(); + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public String getComment() { + return comment; + } + + public void setComment(String comment) { + this.comment = comment == null ? null : comment.trim(); + } + + public String getFilePath() { + return filePath; + } + + public void setFilePath(String filePath) { + this.filePath = filePath == null ? null : filePath.trim(); + } + + public String getMd5() { + return md5; + } + + public void setMd5(String md5) { + this.md5 = md5 == null ? null : md5.trim(); + } + + public Date getVersionCreateDate() { + return versionCreateDate; + } + + public void setVersionCreateDate(Date versionCreateDate) { + this.versionCreateDate = versionCreateDate; + } + + public String getVersionIsDel() { + return versionIsDel; + } + + public void setVersionIsDel(String versionIsDel) { + this.versionIsDel = versionIsDel == null ? null : versionIsDel.trim(); + } + + public String getImagePath() { + return imagePath; + } + + public void setImagePath(String imagePath) { + this.imagePath = imagePath == null ? null : imagePath.trim(); + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/app/AppVersionExample.java b/appmarket-model/src/main/java/app/market/model/app/AppVersionExample.java new file mode 100644 index 0000000..125a401 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/app/AppVersionExample.java @@ -0,0 +1,903 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.app; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import app.market.model.TokenModel; + +public class AppVersionExample extends TokenModel { + /** + * + */ + private static final long serialVersionUID = 5985453790095559260L; + + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public AppVersionExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andVersionIdIsNull() { + addCriterion("VERSION_ID is null"); + return (Criteria) this; + } + + public Criteria andVersionIdIsNotNull() { + addCriterion("VERSION_ID is not null"); + return (Criteria) this; + } + + public Criteria andVersionIdEqualTo(String value) { + addCriterion("VERSION_ID =", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdNotEqualTo(String value) { + addCriterion("VERSION_ID <>", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdGreaterThan(String value) { + addCriterion("VERSION_ID >", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdGreaterThanOrEqualTo(String value) { + addCriterion("VERSION_ID >=", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdLessThan(String value) { + addCriterion("VERSION_ID <", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdLessThanOrEqualTo(String value) { + addCriterion("VERSION_ID <=", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdLike(String value) { + addCriterion("VERSION_ID like", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdNotLike(String value) { + addCriterion("VERSION_ID not like", value, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdIn(List<String> values) { + addCriterion("VERSION_ID in", values, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdNotIn(List<String> values) { + addCriterion("VERSION_ID not in", values, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdBetween(String value1, String value2) { + addCriterion("VERSION_ID between", value1, value2, "versionId"); + return (Criteria) this; + } + + public Criteria andVersionIdNotBetween(String value1, String value2) { + addCriterion("VERSION_ID not between", value1, value2, "versionId"); + return (Criteria) this; + } + + public Criteria andVAppIdIsNull() { + addCriterion("V_APP_ID is null"); + return (Criteria) this; + } + + public Criteria andVAppIdIsNotNull() { + addCriterion("V_APP_ID is not null"); + return (Criteria) this; + } + + public Criteria andVAppIdEqualTo(String value) { + addCriterion("V_APP_ID =", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdNotEqualTo(String value) { + addCriterion("V_APP_ID <>", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdGreaterThan(String value) { + addCriterion("V_APP_ID >", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdGreaterThanOrEqualTo(String value) { + addCriterion("V_APP_ID >=", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdLessThan(String value) { + addCriterion("V_APP_ID <", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdLessThanOrEqualTo(String value) { + addCriterion("V_APP_ID <=", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdLike(String value) { + addCriterion("V_APP_ID like", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdNotLike(String value) { + addCriterion("V_APP_ID not like", value, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdIn(List<String> values) { + addCriterion("V_APP_ID in", values, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdNotIn(List<String> values) { + addCriterion("V_APP_ID not in", values, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdBetween(String value1, String value2) { + addCriterion("V_APP_ID between", value1, value2, "vAppId"); + return (Criteria) this; + } + + public Criteria andVAppIdNotBetween(String value1, String value2) { + addCriterion("V_APP_ID not between", value1, value2, "vAppId"); + return (Criteria) this; + } + + public Criteria andVersionNameIsNull() { + addCriterion("VERSION_NAME is null"); + return (Criteria) this; + } + + public Criteria andVersionNameIsNotNull() { + addCriterion("VERSION_NAME is not null"); + return (Criteria) this; + } + + public Criteria andVersionNameEqualTo(String value) { + addCriterion("VERSION_NAME =", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameNotEqualTo(String value) { + addCriterion("VERSION_NAME <>", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameGreaterThan(String value) { + addCriterion("VERSION_NAME >", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameGreaterThanOrEqualTo(String value) { + addCriterion("VERSION_NAME >=", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameLessThan(String value) { + addCriterion("VERSION_NAME <", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameLessThanOrEqualTo(String value) { + addCriterion("VERSION_NAME <=", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameLike(String value) { + addCriterion("VERSION_NAME like", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameNotLike(String value) { + addCriterion("VERSION_NAME not like", value, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameIn(List<String> values) { + addCriterion("VERSION_NAME in", values, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameNotIn(List<String> values) { + addCriterion("VERSION_NAME not in", values, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameBetween(String value1, String value2) { + addCriterion("VERSION_NAME between", value1, value2, "versionName"); + return (Criteria) this; + } + + public Criteria andVersionNameNotBetween(String value1, String value2) { + addCriterion("VERSION_NAME not between", value1, value2, "versionName"); + return (Criteria) this; + } + + public Criteria andSizeIsNull() { + addCriterion("SIZE is null"); + return (Criteria) this; + } + + public Criteria andSizeIsNotNull() { + addCriterion("SIZE is not null"); + return (Criteria) this; + } + + public Criteria andSizeEqualTo(Integer value) { + addCriterion("SIZE =", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeNotEqualTo(Integer value) { + addCriterion("SIZE <>", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeGreaterThan(Integer value) { + addCriterion("SIZE >", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeGreaterThanOrEqualTo(Integer value) { + addCriterion("SIZE >=", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeLessThan(Integer value) { + addCriterion("SIZE <", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeLessThanOrEqualTo(Integer value) { + addCriterion("SIZE <=", value, "size"); + return (Criteria) this; + } + + public Criteria andSizeIn(List<Integer> values) { + addCriterion("SIZE in", values, "size"); + return (Criteria) this; + } + + public Criteria andSizeNotIn(List<Integer> values) { + addCriterion("SIZE not in", values, "size"); + return (Criteria) this; + } + + public Criteria andSizeBetween(Integer value1, Integer value2) { + addCriterion("SIZE between", value1, value2, "size"); + return (Criteria) this; + } + + public Criteria andSizeNotBetween(Integer value1, Integer value2) { + addCriterion("SIZE not between", value1, value2, "size"); + return (Criteria) this; + } + + public Criteria andCommentIsNull() { + addCriterion("COMMENT is null"); + return (Criteria) this; + } + + public Criteria andCommentIsNotNull() { + addCriterion("COMMENT is not null"); + return (Criteria) this; + } + + public Criteria andCommentEqualTo(String value) { + addCriterion("COMMENT =", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentNotEqualTo(String value) { + addCriterion("COMMENT <>", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentGreaterThan(String value) { + addCriterion("COMMENT >", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentGreaterThanOrEqualTo(String value) { + addCriterion("COMMENT >=", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentLessThan(String value) { + addCriterion("COMMENT <", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentLessThanOrEqualTo(String value) { + addCriterion("COMMENT <=", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentLike(String value) { + addCriterion("COMMENT like", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentNotLike(String value) { + addCriterion("COMMENT not like", value, "comment"); + return (Criteria) this; + } + + public Criteria andCommentIn(List<String> values) { + addCriterion("COMMENT in", values, "comment"); + return (Criteria) this; + } + + public Criteria andCommentNotIn(List<String> values) { + addCriterion("COMMENT not in", values, "comment"); + return (Criteria) this; + } + + public Criteria andCommentBetween(String value1, String value2) { + addCriterion("COMMENT between", value1, value2, "comment"); + return (Criteria) this; + } + + public Criteria andCommentNotBetween(String value1, String value2) { + addCriterion("COMMENT not between", value1, value2, "comment"); + return (Criteria) this; + } + + public Criteria andFilePathIsNull() { + addCriterion("FILE_PATH is null"); + return (Criteria) this; + } + + public Criteria andFilePathIsNotNull() { + addCriterion("FILE_PATH is not null"); + return (Criteria) this; + } + + public Criteria andFilePathEqualTo(String value) { + addCriterion("FILE_PATH =", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathNotEqualTo(String value) { + addCriterion("FILE_PATH <>", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathGreaterThan(String value) { + addCriterion("FILE_PATH >", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathGreaterThanOrEqualTo(String value) { + addCriterion("FILE_PATH >=", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathLessThan(String value) { + addCriterion("FILE_PATH <", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathLessThanOrEqualTo(String value) { + addCriterion("FILE_PATH <=", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathLike(String value) { + addCriterion("FILE_PATH like", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathNotLike(String value) { + addCriterion("FILE_PATH not like", value, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathIn(List<String> values) { + addCriterion("FILE_PATH in", values, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathNotIn(List<String> values) { + addCriterion("FILE_PATH not in", values, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathBetween(String value1, String value2) { + addCriterion("FILE_PATH between", value1, value2, "filePath"); + return (Criteria) this; + } + + public Criteria andFilePathNotBetween(String value1, String value2) { + addCriterion("FILE_PATH not between", value1, value2, "filePath"); + return (Criteria) this; + } + + public Criteria andMd5IsNull() { + addCriterion("MD5 is null"); + return (Criteria) this; + } + + public Criteria andMd5IsNotNull() { + addCriterion("MD5 is not null"); + return (Criteria) this; + } + + public Criteria andMd5EqualTo(String value) { + addCriterion("MD5 =", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5NotEqualTo(String value) { + addCriterion("MD5 <>", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5GreaterThan(String value) { + addCriterion("MD5 >", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5GreaterThanOrEqualTo(String value) { + addCriterion("MD5 >=", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5LessThan(String value) { + addCriterion("MD5 <", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5LessThanOrEqualTo(String value) { + addCriterion("MD5 <=", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5Like(String value) { + addCriterion("MD5 like", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5NotLike(String value) { + addCriterion("MD5 not like", value, "md5"); + return (Criteria) this; + } + + public Criteria andMd5In(List<String> values) { + addCriterion("MD5 in", values, "md5"); + return (Criteria) this; + } + + public Criteria andMd5NotIn(List<String> values) { + addCriterion("MD5 not in", values, "md5"); + return (Criteria) this; + } + + public Criteria andMd5Between(String value1, String value2) { + addCriterion("MD5 between", value1, value2, "md5"); + return (Criteria) this; + } + + public Criteria andMd5NotBetween(String value1, String value2) { + addCriterion("MD5 not between", value1, value2, "md5"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateIsNull() { + addCriterion("VERSION_CREATE_DATE is null"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateIsNotNull() { + addCriterion("VERSION_CREATE_DATE is not null"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateEqualTo(Date value) { + addCriterion("VERSION_CREATE_DATE =", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateNotEqualTo(Date value) { + addCriterion("VERSION_CREATE_DATE <>", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateGreaterThan(Date value) { + addCriterion("VERSION_CREATE_DATE >", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateGreaterThanOrEqualTo(Date value) { + addCriterion("VERSION_CREATE_DATE >=", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateLessThan(Date value) { + addCriterion("VERSION_CREATE_DATE <", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateLessThanOrEqualTo(Date value) { + addCriterion("VERSION_CREATE_DATE <=", value, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateIn(List<Date> values) { + addCriterion("VERSION_CREATE_DATE in", values, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateNotIn(List<Date> values) { + addCriterion("VERSION_CREATE_DATE not in", values, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateBetween(Date value1, Date value2) { + addCriterion("VERSION_CREATE_DATE between", value1, value2, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionCreateDateNotBetween(Date value1, Date value2) { + addCriterion("VERSION_CREATE_DATE not between", value1, value2, "versionCreateDate"); + return (Criteria) this; + } + + public Criteria andVersionIsDelIsNull() { + addCriterion("VERSION_IS_DEL is null"); + return (Criteria) this; + } + + public Criteria andVersionIsDelIsNotNull() { + addCriterion("VERSION_IS_DEL is not null"); + return (Criteria) this; + } + + public Criteria andVersionIsDelEqualTo(String value) { + addCriterion("VERSION_IS_DEL =", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelNotEqualTo(String value) { + addCriterion("VERSION_IS_DEL <>", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelGreaterThan(String value) { + addCriterion("VERSION_IS_DEL >", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelGreaterThanOrEqualTo(String value) { + addCriterion("VERSION_IS_DEL >=", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelLessThan(String value) { + addCriterion("VERSION_IS_DEL <", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelLessThanOrEqualTo(String value) { + addCriterion("VERSION_IS_DEL <=", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelLike(String value) { + addCriterion("VERSION_IS_DEL like", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelNotLike(String value) { + addCriterion("VERSION_IS_DEL not like", value, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelIn(List<String> values) { + addCriterion("VERSION_IS_DEL in", values, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelNotIn(List<String> values) { + addCriterion("VERSION_IS_DEL not in", values, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelBetween(String value1, String value2) { + addCriterion("VERSION_IS_DEL between", value1, value2, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andVersionIsDelNotBetween(String value1, String value2) { + addCriterion("VERSION_IS_DEL not between", value1, value2, "versionIsDel"); + return (Criteria) this; + } + + public Criteria andImagePathIsNull() { + addCriterion("IMAGE_PATH is null"); + return (Criteria) this; + } + + public Criteria andImagePathIsNotNull() { + addCriterion("IMAGE_PATH is not null"); + return (Criteria) this; + } + + public Criteria andImagePathEqualTo(String value) { + addCriterion("IMAGE_PATH =", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathNotEqualTo(String value) { + addCriterion("IMAGE_PATH <>", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathGreaterThan(String value) { + addCriterion("IMAGE_PATH >", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathGreaterThanOrEqualTo(String value) { + addCriterion("IMAGE_PATH >=", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathLessThan(String value) { + addCriterion("IMAGE_PATH <", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathLessThanOrEqualTo(String value) { + addCriterion("IMAGE_PATH <=", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathLike(String value) { + addCriterion("IMAGE_PATH like", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathNotLike(String value) { + addCriterion("IMAGE_PATH not like", value, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathIn(List<String> values) { + addCriterion("IMAGE_PATH in", values, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathNotIn(List<String> values) { + addCriterion("IMAGE_PATH not in", values, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathBetween(String value1, String value2) { + addCriterion("IMAGE_PATH between", value1, value2, "imagePath"); + return (Criteria) this; + } + + public Criteria andImagePathNotBetween(String value1, String value2) { + addCriterion("IMAGE_PATH not between", value1, value2, "imagePath"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/app/FileInfo.java b/appmarket-model/src/main/java/app/market/model/app/FileInfo.java new file mode 100644 index 0000000..32d05fc --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/app/FileInfo.java @@ -0,0 +1,101 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.app; + +import app.market.model.TokenModel; + +public class FileInfo extends TokenModel { + + private static final long serialVersionUID = -6324279033213618383L; + + private String fileName= ""; + + private long fileSize = 0; + + private String filePath= ""; + + private String fileHashCode = ""; + + /** + * [app id] value in config.xml + */ + private String configAppId= ""; + + /** + * [version] value in config.xml + */ + private String configVersionName= ""; + + /** + * [name] value in config.xml + */ + private String configAppName= ""; + + /** + * [icon] value in config.xml + */ + private String iconPath = ""; + + public String getFileHashCode() { + return fileHashCode; + } + public void setFileHashCode(String fileHashCode) { + this.fileHashCode = fileHashCode; + } + public String getFileName() { + return fileName; + } + public void setFileName(String fileName) { + this.fileName = fileName; + } + public long getFileSize() { + return fileSize; + } + public void setFileSize(long fileSize) { + this.fileSize = fileSize; + } + public String getFilePath() { + return filePath; + } + public void setFilePath(String filePath) { + this.filePath = filePath; + } + public String getConfigVersionName() { + return configVersionName; + } + public void setConfigVersionName(String configVersionName) { + this.configVersionName = configVersionName; + } + public String getConfigAppName() { + return configAppName; + } + public void setConfigAppName(String configAppName) { + this.configAppName = configAppName; + } + public String getIconPath() { + return iconPath; + } + public void setIconPath(String iconPath) { + this.iconPath = iconPath; + } + + public String getConfigAppId() { + return configAppId; + } + public void setConfigAppId(String configAppId) { + this.configAppId = configAppId; + } + }
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/authority/Authority.java b/appmarket-model/src/main/java/app/market/model/authority/Authority.java new file mode 100644 index 0000000..fae2163 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/authority/Authority.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.authority; + +public class Authority { + private String auId; + + private String auName; + + private String isDel; + + public String getAuId() { + return auId; + } + + public void setAuId(String auId) { + this.auId = auId == null ? null : auId.trim(); + } + + public String getAuName() { + return auName; + } + + public void setAuName(String auName) { + this.auName = auName == null ? null : auName.trim(); + } + + public String getIsDel() { + return isDel; + } + + public void setIsDel(String isDel) { + this.isDel = isDel == null ? null : isDel.trim(); + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/authority/AuthorityExample.java b/appmarket-model/src/main/java/app/market/model/authority/AuthorityExample.java new file mode 100644 index 0000000..b5a909f --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/authority/AuthorityExample.java @@ -0,0 +1,425 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.authority; + +import java.util.ArrayList; +import java.util.List; + +public class AuthorityExample { + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public AuthorityExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andAuIdIsNull() { + addCriterion("AU_ID is null"); + return (Criteria) this; + } + + public Criteria andAuIdIsNotNull() { + addCriterion("AU_ID is not null"); + return (Criteria) this; + } + + public Criteria andAuIdEqualTo(String value) { + addCriterion("AU_ID =", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotEqualTo(String value) { + addCriterion("AU_ID <>", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThan(String value) { + addCriterion("AU_ID >", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThanOrEqualTo(String value) { + addCriterion("AU_ID >=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThan(String value) { + addCriterion("AU_ID <", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThanOrEqualTo(String value) { + addCriterion("AU_ID <=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLike(String value) { + addCriterion("AU_ID like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotLike(String value) { + addCriterion("AU_ID not like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdIn(List<String> values) { + addCriterion("AU_ID in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotIn(List<String> values) { + addCriterion("AU_ID not in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdBetween(String value1, String value2) { + addCriterion("AU_ID between", value1, value2, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotBetween(String value1, String value2) { + addCriterion("AU_ID not between", value1, value2, "auId"); + return (Criteria) this; + } + + public Criteria andAuNameIsNull() { + addCriterion("AU_NAME is null"); + return (Criteria) this; + } + + public Criteria andAuNameIsNotNull() { + addCriterion("AU_NAME is not null"); + return (Criteria) this; + } + + public Criteria andAuNameEqualTo(String value) { + addCriterion("AU_NAME =", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameNotEqualTo(String value) { + addCriterion("AU_NAME <>", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameGreaterThan(String value) { + addCriterion("AU_NAME >", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameGreaterThanOrEqualTo(String value) { + addCriterion("AU_NAME >=", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameLessThan(String value) { + addCriterion("AU_NAME <", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameLessThanOrEqualTo(String value) { + addCriterion("AU_NAME <=", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameLike(String value) { + addCriterion("AU_NAME like", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameNotLike(String value) { + addCriterion("AU_NAME not like", value, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameIn(List<String> values) { + addCriterion("AU_NAME in", values, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameNotIn(List<String> values) { + addCriterion("AU_NAME not in", values, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameBetween(String value1, String value2) { + addCriterion("AU_NAME between", value1, value2, "auName"); + return (Criteria) this; + } + + public Criteria andAuNameNotBetween(String value1, String value2) { + addCriterion("AU_NAME not between", value1, value2, "auName"); + return (Criteria) this; + } + + public Criteria andIsDelIsNull() { + addCriterion("AU_IS_DEL is null"); + return (Criteria) this; + } + + public Criteria andIsDelIsNotNull() { + addCriterion("AU_IS_DEL is not null"); + return (Criteria) this; + } + + public Criteria andIsDelEqualTo(String value) { + addCriterion("AU_IS_DEL =", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotEqualTo(String value) { + addCriterion("AU_IS_DEL <>", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThan(String value) { + addCriterion("AU_IS_DEL >", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThanOrEqualTo(String value) { + addCriterion("AU_IS_DEL >=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThan(String value) { + addCriterion("AU_IS_DEL <", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThanOrEqualTo(String value) { + addCriterion("AU_IS_DEL <=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLike(String value) { + addCriterion("AU_IS_DEL like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotLike(String value) { + addCriterion("AU_IS_DEL not like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelIn(List<String> values) { + addCriterion("AU_IS_DEL in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotIn(List<String> values) { + addCriterion("AU_IS_DEL not in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelBetween(String value1, String value2) { + addCriterion("AU_IS_DEL between", value1, value2, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotBetween(String value1, String value2) { + addCriterion("AU_IS_DEL not between", value1, value2, "isDel"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkExample.java b/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkExample.java new file mode 100644 index 0000000..c139549 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkExample.java @@ -0,0 +1,355 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.authority; + +import java.util.ArrayList; +import java.util.List; + +public class AuthorityResourceLinkExample { + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public AuthorityResourceLinkExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andResIdIsNull() { + addCriterion("R_RES_ID is null"); + return (Criteria) this; + } + + public Criteria andResIdIsNotNull() { + addCriterion("R_RES_ID is not null"); + return (Criteria) this; + } + + public Criteria andResIdEqualTo(String value) { + addCriterion("R_RES_ID =", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotEqualTo(String value) { + addCriterion("R_RES_ID <>", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdGreaterThan(String value) { + addCriterion("R_RES_ID >", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdGreaterThanOrEqualTo(String value) { + addCriterion("R_RES_ID >=", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLessThan(String value) { + addCriterion("R_RES_ID <", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLessThanOrEqualTo(String value) { + addCriterion("R_RES_ID <=", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLike(String value) { + addCriterion("R_RES_ID like", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotLike(String value) { + addCriterion("R_RES_ID not like", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdIn(List<String> values) { + addCriterion("R_RES_ID in", values, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotIn(List<String> values) { + addCriterion("R_RES_ID not in", values, "resId"); + return (Criteria) this; + } + + public Criteria andResIdBetween(String value1, String value2) { + addCriterion("R_RES_ID between", value1, value2, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotBetween(String value1, String value2) { + addCriterion("R_RES_ID not between", value1, value2, "resId"); + return (Criteria) this; + } + + public Criteria andAuIdIsNull() { + addCriterion("R_AU_ID is null"); + return (Criteria) this; + } + + public Criteria andAuIdIsNotNull() { + addCriterion("R_AU_ID is not null"); + return (Criteria) this; + } + + public Criteria andAuIdEqualTo(String value) { + addCriterion("R_AU_ID =", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotEqualTo(String value) { + addCriterion("R_AU_ID <>", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThan(String value) { + addCriterion("R_AU_ID >", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThanOrEqualTo(String value) { + addCriterion("R_AU_ID >=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThan(String value) { + addCriterion("R_AU_ID <", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThanOrEqualTo(String value) { + addCriterion("R_AU_ID <=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLike(String value) { + addCriterion("R_AU_ID like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotLike(String value) { + addCriterion("R_AU_ID not like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdIn(List<String> values) { + addCriterion("R_AU_ID in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotIn(List<String> values) { + addCriterion("R_AU_ID not in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdBetween(String value1, String value2) { + addCriterion("R_AU_ID between", value1, value2, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotBetween(String value1, String value2) { + addCriterion("R_AU_ID not between", value1, value2, "auId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkKey.java b/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkKey.java new file mode 100644 index 0000000..d682e10 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/authority/AuthorityResourceLinkKey.java @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.authority; + +public class AuthorityResourceLinkKey { + private String resId; + + private String auId; + + public String getResId() { + return resId; + } + + public void setResId(String resId) { + this.resId = resId == null ? null : resId.trim(); + } + + public String getAuId() { + return auId; + } + + public void setAuId(String auId) { + this.auId = auId == null ? null : auId.trim(); + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/errors/ResponseErrors.java b/appmarket-model/src/main/java/app/market/model/errors/ResponseErrors.java new file mode 100644 index 0000000..637c2a2 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/errors/ResponseErrors.java @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.errors; + +import java.io.Serializable; + +/** + * ResponseErrors + */ +public class ResponseErrors implements Serializable { + + /** + * Default ID + */ + private static final long serialVersionUID = 1L; + + /** + * error code + */ + private String error_code; + + /** + * error message + */ + private String message; + + /** + * other information + */ + private Object ext; + + public String getcode() { + return error_code; + } + + public void setcode(String error_code) { + this.error_code = error_code; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Object getExt() { + return ext; + } + + public void setExt(Object ext) { + this.ext = ext; + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/resource/Dictionary.java b/appmarket-model/src/main/java/app/market/model/resource/Dictionary.java new file mode 100644 index 0000000..cecc280 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/resource/Dictionary.java @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.resource; + +public class Dictionary { + private Integer dicId; + + private String dicType; + + private String dicValue; + + private String dicLabel; + + public Integer getDicId() { + return dicId; + } + + public void setDicId(Integer dicId) { + this.dicId = dicId; + } + + public String getDicType() { + return dicType; + } + + public void setDicType(String dicType) { + this.dicType = dicType == null ? null : dicType.trim(); + } + + public String getDicValue() { + return dicValue; + } + + public void setDicValue(String dicValue) { + this.dicValue = dicValue == null ? null : dicValue.trim(); + } + + public String getDicLabel() { + return dicLabel; + } + + public void setDicLabel(String dicLabel) { + this.dicLabel = dicLabel == null ? null : dicLabel.trim(); + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/resource/DictionaryExample.java b/appmarket-model/src/main/java/app/market/model/resource/DictionaryExample.java new file mode 100644 index 0000000..557567d --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/resource/DictionaryExample.java @@ -0,0 +1,485 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.resource; + +import java.util.ArrayList; +import java.util.List; + +public class DictionaryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public DictionaryExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andDicIdIsNull() { + addCriterion("DIC_ID is null"); + return (Criteria) this; + } + + public Criteria andDicIdIsNotNull() { + addCriterion("DIC_ID is not null"); + return (Criteria) this; + } + + public Criteria andDicIdEqualTo(Integer value) { + addCriterion("DIC_ID =", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdNotEqualTo(Integer value) { + addCriterion("DIC_ID <>", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdGreaterThan(Integer value) { + addCriterion("DIC_ID >", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdGreaterThanOrEqualTo(Integer value) { + addCriterion("DIC_ID >=", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdLessThan(Integer value) { + addCriterion("DIC_ID <", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdLessThanOrEqualTo(Integer value) { + addCriterion("DIC_ID <=", value, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdIn(List<Integer> values) { + addCriterion("DIC_ID in", values, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdNotIn(List<Integer> values) { + addCriterion("DIC_ID not in", values, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdBetween(Integer value1, Integer value2) { + addCriterion("DIC_ID between", value1, value2, "dicId"); + return (Criteria) this; + } + + public Criteria andDicIdNotBetween(Integer value1, Integer value2) { + addCriterion("DIC_ID not between", value1, value2, "dicId"); + return (Criteria) this; + } + + public Criteria andDicTypeIsNull() { + addCriterion("DIC_TYPE is null"); + return (Criteria) this; + } + + public Criteria andDicTypeIsNotNull() { + addCriterion("DIC_TYPE is not null"); + return (Criteria) this; + } + + public Criteria andDicTypeEqualTo(String value) { + addCriterion("DIC_TYPE =", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeNotEqualTo(String value) { + addCriterion("DIC_TYPE <>", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeGreaterThan(String value) { + addCriterion("DIC_TYPE >", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeGreaterThanOrEqualTo(String value) { + addCriterion("DIC_TYPE >=", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeLessThan(String value) { + addCriterion("DIC_TYPE <", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeLessThanOrEqualTo(String value) { + addCriterion("DIC_TYPE <=", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeLike(String value) { + addCriterion("DIC_TYPE like", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeNotLike(String value) { + addCriterion("DIC_TYPE not like", value, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeIn(List<String> values) { + addCriterion("DIC_TYPE in", values, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeNotIn(List<String> values) { + addCriterion("DIC_TYPE not in", values, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeBetween(String value1, String value2) { + addCriterion("DIC_TYPE between", value1, value2, "dicType"); + return (Criteria) this; + } + + public Criteria andDicTypeNotBetween(String value1, String value2) { + addCriterion("DIC_TYPE not between", value1, value2, "dicType"); + return (Criteria) this; + } + + public Criteria andDicValueIsNull() { + addCriterion("DIC_VALUE is null"); + return (Criteria) this; + } + + public Criteria andDicValueIsNotNull() { + addCriterion("DIC_VALUE is not null"); + return (Criteria) this; + } + + public Criteria andDicValueEqualTo(String value) { + addCriterion("DIC_VALUE =", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueNotEqualTo(String value) { + addCriterion("DIC_VALUE <>", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueGreaterThan(String value) { + addCriterion("DIC_VALUE >", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueGreaterThanOrEqualTo(String value) { + addCriterion("DIC_VALUE >=", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueLessThan(String value) { + addCriterion("DIC_VALUE <", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueLessThanOrEqualTo(String value) { + addCriterion("DIC_VALUE <=", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueLike(String value) { + addCriterion("DIC_VALUE like", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueNotLike(String value) { + addCriterion("DIC_VALUE not like", value, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueIn(List<String> values) { + addCriterion("DIC_VALUE in", values, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueNotIn(List<String> values) { + addCriterion("DIC_VALUE not in", values, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueBetween(String value1, String value2) { + addCriterion("DIC_VALUE between", value1, value2, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicValueNotBetween(String value1, String value2) { + addCriterion("DIC_VALUE not between", value1, value2, "dicValue"); + return (Criteria) this; + } + + public Criteria andDicLabelIsNull() { + addCriterion("DIC_LABEL is null"); + return (Criteria) this; + } + + public Criteria andDicLabelIsNotNull() { + addCriterion("DIC_LABEL is not null"); + return (Criteria) this; + } + + public Criteria andDicLabelEqualTo(String value) { + addCriterion("DIC_LABEL =", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelNotEqualTo(String value) { + addCriterion("DIC_LABEL <>", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelGreaterThan(String value) { + addCriterion("DIC_LABEL >", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelGreaterThanOrEqualTo(String value) { + addCriterion("DIC_LABEL >=", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelLessThan(String value) { + addCriterion("DIC_LABEL <", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelLessThanOrEqualTo(String value) { + addCriterion("DIC_LABEL <=", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelLike(String value) { + addCriterion("DIC_LABEL like", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelNotLike(String value) { + addCriterion("DIC_LABEL not like", value, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelIn(List<String> values) { + addCriterion("DIC_LABEL in", values, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelNotIn(List<String> values) { + addCriterion("DIC_LABEL not in", values, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelBetween(String value1, String value2) { + addCriterion("DIC_LABEL between", value1, value2, "dicLabel"); + return (Criteria) this; + } + + public Criteria andDicLabelNotBetween(String value1, String value2) { + addCriterion("DIC_LABEL not between", value1, value2, "dicLabel"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/resource/Resource.java b/appmarket-model/src/main/java/app/market/model/resource/Resource.java new file mode 100644 index 0000000..f76f4b5 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/resource/Resource.java @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.resource; + +import app.market.model.TokenModel; + +public class Resource extends TokenModel{ + + /** + * + */ + private static final long serialVersionUID = -6270897570633592392L; + + private String resId; + + private String resName; + + private String resType; + + private String accessPath; + + private String httpMethod; + + public String getResId() { + return resId; + } + + public void setResId(String resId) { + this.resId = resId == null ? null : resId.trim(); + } + + public String getResName() { + return resName; + } + + public void setResName(String resName) { + this.resName = resName == null ? null : resName.trim(); + } + + public String getResType() { + return resType; + } + + public void setResType(String resType) { + this.resType = resType == null ? null : resType.trim(); + } + + public String getAccessPath() { + return accessPath; + } + + public void setAccessPath(String accessPath) { + this.accessPath = accessPath == null ? null : accessPath.trim(); + } + + public String getHttpMethod() { + return httpMethod; + } + + public void setHttpMethod(String httpMethod) { + this.httpMethod = httpMethod; + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/resource/ResourceExample.java b/appmarket-model/src/main/java/app/market/model/resource/ResourceExample.java new file mode 100644 index 0000000..30eb7ab --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/resource/ResourceExample.java @@ -0,0 +1,502 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.resource; + +import java.util.ArrayList; +import java.util.List; + +import app.market.model.TokenModel; + +public class ResourceExample extends TokenModel { + /** + * + */ + private static final long serialVersionUID = -413118689409905570L; + + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public ResourceExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andResIdIsNull() { + addCriterion("RES_ID is null"); + return (Criteria) this; + } + + public Criteria andResIdIsNotNull() { + addCriterion("RES_ID is not null"); + return (Criteria) this; + } + + public Criteria andResIdEqualTo(String value) { + addCriterion("RES_ID =", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotEqualTo(String value) { + addCriterion("RES_ID <>", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdGreaterThan(String value) { + addCriterion("RES_ID >", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdGreaterThanOrEqualTo(String value) { + addCriterion("RES_ID >=", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLessThan(String value) { + addCriterion("RES_ID <", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLessThanOrEqualTo(String value) { + addCriterion("RES_ID <=", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdLike(String value) { + addCriterion("RES_ID like", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotLike(String value) { + addCriterion("RES_ID not like", value, "resId"); + return (Criteria) this; + } + + public Criteria andResIdIn(List<String> values) { + addCriterion("RES_ID in", values, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotIn(List<String> values) { + addCriterion("RES_ID not in", values, "resId"); + return (Criteria) this; + } + + public Criteria andResIdBetween(String value1, String value2) { + addCriterion("RES_ID between", value1, value2, "resId"); + return (Criteria) this; + } + + public Criteria andResIdNotBetween(String value1, String value2) { + addCriterion("RES_ID not between", value1, value2, "resId"); + return (Criteria) this; + } + + public Criteria andResNameIsNull() { + addCriterion("RES_NAME is null"); + return (Criteria) this; + } + + public Criteria andResNameIsNotNull() { + addCriterion("RES_NAME is not null"); + return (Criteria) this; + } + + public Criteria andResNameEqualTo(String value) { + addCriterion("RES_NAME =", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameNotEqualTo(String value) { + addCriterion("RES_NAME <>", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameGreaterThan(String value) { + addCriterion("RES_NAME >", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameGreaterThanOrEqualTo(String value) { + addCriterion("RES_NAME >=", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameLessThan(String value) { + addCriterion("RES_NAME <", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameLessThanOrEqualTo(String value) { + addCriterion("RES_NAME <=", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameLike(String value) { + addCriterion("RES_NAME like", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameNotLike(String value) { + addCriterion("RES_NAME not like", value, "resName"); + return (Criteria) this; + } + + public Criteria andResNameIn(List<String> values) { + addCriterion("RES_NAME in", values, "resName"); + return (Criteria) this; + } + + public Criteria andResNameNotIn(List<String> values) { + addCriterion("RES_NAME not in", values, "resName"); + return (Criteria) this; + } + + public Criteria andResNameBetween(String value1, String value2) { + addCriterion("RES_NAME between", value1, value2, "resName"); + return (Criteria) this; + } + + public Criteria andResNameNotBetween(String value1, String value2) { + addCriterion("RES_NAME not between", value1, value2, "resName"); + return (Criteria) this; + } + + public Criteria andResTypeIsNull() { + addCriterion("RES_TYPE is null"); + return (Criteria) this; + } + + public Criteria andResTypeIsNotNull() { + addCriterion("RES_TYPE is not null"); + return (Criteria) this; + } + + public Criteria andResTypeEqualTo(String value) { + addCriterion("RES_TYPE =", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeNotEqualTo(String value) { + addCriterion("RES_TYPE <>", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeGreaterThan(String value) { + addCriterion("RES_TYPE >", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeGreaterThanOrEqualTo(String value) { + addCriterion("RES_TYPE >=", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeLessThan(String value) { + addCriterion("RES_TYPE <", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeLessThanOrEqualTo(String value) { + addCriterion("RES_TYPE <=", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeLike(String value) { + addCriterion("RES_TYPE like", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeNotLike(String value) { + addCriterion("RES_TYPE not like", value, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeIn(List<String> values) { + addCriterion("RES_TYPE in", values, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeNotIn(List<String> values) { + addCriterion("RES_TYPE not in", values, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeBetween(String value1, String value2) { + addCriterion("RES_TYPE between", value1, value2, "resType"); + return (Criteria) this; + } + + public Criteria andResTypeNotBetween(String value1, String value2) { + addCriterion("RES_TYPE not between", value1, value2, "resType"); + return (Criteria) this; + } + + public Criteria andAccessPathIsNull() { + addCriterion("ACCESS_PATH is null"); + return (Criteria) this; + } + + public Criteria andAccessPathIsNotNull() { + addCriterion("ACCESS_PATH is not null"); + return (Criteria) this; + } + + public Criteria andAccessPathEqualTo(String value) { + addCriterion("ACCESS_PATH =", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathNotEqualTo(String value) { + addCriterion("ACCESS_PATH <>", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathGreaterThan(String value) { + addCriterion("ACCESS_PATH >", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathGreaterThanOrEqualTo(String value) { + addCriterion("ACCESS_PATH >=", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathLessThan(String value) { + addCriterion("ACCESS_PATH <", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathLessThanOrEqualTo(String value) { + addCriterion("ACCESS_PATH <=", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathLike(String value) { + addCriterion("ACCESS_PATH like", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathNotLike(String value) { + addCriterion("ACCESS_PATH not like", value, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathIn(List<String> values) { + addCriterion("ACCESS_PATH in", values, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathNotIn(List<String> values) { + addCriterion("ACCESS_PATH not in", values, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathBetween(String value1, String value2) { + addCriterion("ACCESS_PATH between", value1, value2, "accessPath"); + return (Criteria) this; + } + + public Criteria andAccessPathNotBetween(String value1, String value2) { + addCriterion("ACCESS_PATH not between", value1, value2, "accessPath"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/user/User.java b/appmarket-model/src/main/java/app/market/model/user/User.java new file mode 100644 index 0000000..697ab67 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/user/User.java @@ -0,0 +1,130 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.user; + +import java.util.Date; + +import app.market.model.TokenModel; + +public class User extends TokenModel{ + + + /** + * + */ + private static final long serialVersionUID = 3373523200548812007L; + + private String userId; + + private String userPw; + + private String reuserPw; + + private String userName; + + private String mailAddress; + + private Date createDate; + + private Date updateDate; + + private String isDel; + + private String auId; + + private String auName; + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId == null ? null : userId.trim(); + } + + public String getUserPw() { + return userPw; + } + + public void setUserPw(String userPw) { + this.userPw = userPw == null ? null : userPw.trim(); + } + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName == null ? null : userName.trim(); + } + + public String getMailAddress() { + return mailAddress; + } + + public void setMailAddress(String mailAddress) { + this.mailAddress = mailAddress == null ? null : mailAddress.trim(); + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } + + public Date getUpdateDate() { + return updateDate; + } + + public void setUpdateDate(Date updateDate) { + this.updateDate = updateDate; + } + + public String getIsDel() { + return isDel; + } + + public void setIsDel(String isDel) { + this.isDel = isDel == null ? null : isDel.trim(); + } + + public String getReuserPw() { + return reuserPw; + } + + public void setReuserPw(String reuserPw) { + this.reuserPw = reuserPw == null ? null : reuserPw.trim(); + } + + public String getAuId() { + return auId; + } + + public void setAuId(String auId) { + this.auId = auId; + } + + public String getAuName() { + return auName; + } + + public void setAuName(String auName) { + this.auName = auName; + } + +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkExample.java b/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkExample.java new file mode 100644 index 0000000..06b4f51 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkExample.java @@ -0,0 +1,362 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.user; + +import java.util.ArrayList; +import java.util.List; + +import app.market.model.TokenModel; + +public class UserAuthorityLinkExample extends TokenModel{ + /** + * + */ + private static final long serialVersionUID = 7593000424181280361L; + + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public UserAuthorityLinkExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andUserIdIsNull() { + addCriterion("A_USER_ID is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("A_USER_ID is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(String value) { + addCriterion("A_USER_ID =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(String value) { + addCriterion("A_USER_ID <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(String value) { + addCriterion("A_USER_ID >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(String value) { + addCriterion("A_USER_ID >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(String value) { + addCriterion("A_USER_ID <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(String value) { + addCriterion("A_USER_ID <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLike(String value) { + addCriterion("A_USER_ID like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotLike(String value) { + addCriterion("A_USER_ID not like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List<String> values) { + addCriterion("A_USER_ID in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List<String> values) { + addCriterion("A_USER_ID not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(String value1, String value2) { + addCriterion("A_USER_ID between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(String value1, String value2) { + addCriterion("A_USER_ID not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andAuIdIsNull() { + addCriterion("A_AU_ID is null"); + return (Criteria) this; + } + + public Criteria andAuIdIsNotNull() { + addCriterion("A_AU_ID is not null"); + return (Criteria) this; + } + + public Criteria andAuIdEqualTo(String value) { + addCriterion("A_AU_ID =", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotEqualTo(String value) { + addCriterion("A_AU_ID <>", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThan(String value) { + addCriterion("A_AU_ID >", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdGreaterThanOrEqualTo(String value) { + addCriterion("A_AU_ID >=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThan(String value) { + addCriterion("A_AU_ID <", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLessThanOrEqualTo(String value) { + addCriterion("A_AU_ID <=", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdLike(String value) { + addCriterion("A_AU_ID like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotLike(String value) { + addCriterion("A_AU_ID not like", value, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdIn(List<String> values) { + addCriterion("A_AU_ID in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotIn(List<String> values) { + addCriterion("A_AU_ID not in", values, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdBetween(String value1, String value2) { + addCriterion("A_AU_ID between", value1, value2, "auId"); + return (Criteria) this; + } + + public Criteria andAuIdNotBetween(String value1, String value2) { + addCriterion("A_AU_ID not between", value1, value2, "auId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkKey.java b/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkKey.java new file mode 100644 index 0000000..67ded7b --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/user/UserAuthorityLinkKey.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.user; + +import app.market.model.TokenModel; + +public class UserAuthorityLinkKey extends TokenModel { + /** + * + */ + private static final long serialVersionUID = -3544722942468130248L; + + private String userId; + + private String auId; + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId == null ? null : userId.trim(); + } + + public String getAuId() { + return auId; + } + + public void setAuId(String auId) { + this.auId = auId == null ? null : auId.trim(); + } +}
\ No newline at end of file diff --git a/appmarket-model/src/main/java/app/market/model/user/UserExample.java b/appmarket-model/src/main/java/app/market/model/user/UserExample.java new file mode 100644 index 0000000..079c924 --- /dev/null +++ b/appmarket-model/src/main/java/app/market/model/user/UserExample.java @@ -0,0 +1,698 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.model.user; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import app.market.model.TokenModel; + +public class UserExample extends TokenModel { + /** + * + */ + private static final long serialVersionUID = -1366756272924053727L; + + protected String orderByClause; + + protected boolean distinct; + + protected List<Criteria> oredCriteria; + + public UserExample() { + oredCriteria = new ArrayList<Criteria>(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List<Criteria> getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List<Criterion> criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<Criterion>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List<Criterion> getAllCriteria() { + return criteria; + } + + public List<Criterion> getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andUserIdIsNull() { + addCriterion("USER_ID is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("USER_ID is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(String value) { + addCriterion("USER_ID =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(String value) { + addCriterion("USER_ID <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(String value) { + addCriterion("USER_ID >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(String value) { + addCriterion("USER_ID >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(String value) { + addCriterion("USER_ID <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(String value) { + addCriterion("USER_ID <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLike(String value) { + addCriterion("USER_ID like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotLike(String value) { + addCriterion("USER_ID not like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List<String> values) { + addCriterion("USER_ID in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List<String> values) { + addCriterion("USER_ID not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(String value1, String value2) { + addCriterion("USER_ID between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(String value1, String value2) { + addCriterion("USER_ID not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserPwIsNull() { + addCriterion("USER_PW is null"); + return (Criteria) this; + } + + public Criteria andUserPwIsNotNull() { + addCriterion("USER_PW is not null"); + return (Criteria) this; + } + + public Criteria andUserPwEqualTo(String value) { + addCriterion("USER_PW =", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwNotEqualTo(String value) { + addCriterion("USER_PW <>", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwGreaterThan(String value) { + addCriterion("USER_PW >", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwGreaterThanOrEqualTo(String value) { + addCriterion("USER_PW >=", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwLessThan(String value) { + addCriterion("USER_PW <", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwLessThanOrEqualTo(String value) { + addCriterion("USER_PW <=", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwLike(String value) { + addCriterion("USER_PW like", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwNotLike(String value) { + addCriterion("USER_PW not like", value, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwIn(List<String> values) { + addCriterion("USER_PW in", values, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwNotIn(List<String> values) { + addCriterion("USER_PW not in", values, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwBetween(String value1, String value2) { + addCriterion("USER_PW between", value1, value2, "userPw"); + return (Criteria) this; + } + + public Criteria andUserPwNotBetween(String value1, String value2) { + addCriterion("USER_PW not between", value1, value2, "userPw"); + return (Criteria) this; + } + + public Criteria andUserNameIsNull() { + addCriterion("USER_NAME is null"); + return (Criteria) this; + } + + public Criteria andUserNameIsNotNull() { + addCriterion("USER_NAME is not null"); + return (Criteria) this; + } + + public Criteria andUserNameEqualTo(String value) { + addCriterion("USER_NAME =", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotEqualTo(String value) { + addCriterion("USER_NAME <>", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameGreaterThan(String value) { + addCriterion("USER_NAME >", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameGreaterThanOrEqualTo(String value) { + addCriterion("USER_NAME >=", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLessThan(String value) { + addCriterion("USER_NAME <", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLessThanOrEqualTo(String value) { + addCriterion("USER_NAME <=", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameLike(String value) { + addCriterion("USER_NAME like", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotLike(String value) { + addCriterion("USER_NAME not like", value, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameIn(List<String> values) { + addCriterion("USER_NAME in", values, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotIn(List<String> values) { + addCriterion("USER_NAME not in", values, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameBetween(String value1, String value2) { + addCriterion("USER_NAME between", value1, value2, "userName"); + return (Criteria) this; + } + + public Criteria andUserNameNotBetween(String value1, String value2) { + addCriterion("USER_NAME not between", value1, value2, "userName"); + return (Criteria) this; + } + + public Criteria andMailAddressIsNull() { + addCriterion("MAIL_ADDRESS is null"); + return (Criteria) this; + } + + public Criteria andMailAddressIsNotNull() { + addCriterion("MAIL_ADDRESS is not null"); + return (Criteria) this; + } + + public Criteria andMailAddressEqualTo(String value) { + addCriterion("MAIL_ADDRESS =", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotEqualTo(String value) { + addCriterion("MAIL_ADDRESS <>", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressGreaterThan(String value) { + addCriterion("MAIL_ADDRESS >", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressGreaterThanOrEqualTo(String value) { + addCriterion("MAIL_ADDRESS >=", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLessThan(String value) { + addCriterion("MAIL_ADDRESS <", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLessThanOrEqualTo(String value) { + addCriterion("MAIL_ADDRESS <=", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLike(String value) { + addCriterion("MAIL_ADDRESS like", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotLike(String value) { + addCriterion("MAIL_ADDRESS not like", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressIn(List<String> values) { + addCriterion("MAIL_ADDRESS in", values, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotIn(List<String> values) { + addCriterion("MAIL_ADDRESS not in", values, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressBetween(String value1, String value2) { + addCriterion("MAIL_ADDRESS between", value1, value2, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotBetween(String value1, String value2) { + addCriterion("MAIL_ADDRESS not between", value1, value2, "mailAddress"); + return (Criteria) this; + } + + public Criteria andAuIdEqualTo(String value) { + addCriterion("ual.A_AU_ID =", value, "auId"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNull() { + addCriterion("CREATE_DATE is null"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNotNull() { + addCriterion("CREATE_DATE is not null"); + return (Criteria) this; + } + + public Criteria andCreateDateEqualTo(Date value) { + addCriterion("CREATE_DATE =", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotEqualTo(Date value) { + addCriterion("CREATE_DATE <>", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThan(Date value) { + addCriterion("CREATE_DATE >", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { + addCriterion("CREATE_DATE >=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThan(Date value) { + addCriterion("CREATE_DATE <", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThanOrEqualTo(Date value) { + addCriterion("CREATE_DATE <=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateIn(List<Date> values) { + addCriterion("CREATE_DATE in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotIn(List<Date> values) { + addCriterion("CREATE_DATE not in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateBetween(Date value1, Date value2) { + addCriterion("CREATE_DATE between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotBetween(Date value1, Date value2) { + addCriterion("CREATE_DATE not between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateIsNull() { + addCriterion("UPDATE_DATE is null"); + return (Criteria) this; + } + + public Criteria andUpdateDateIsNotNull() { + addCriterion("UPDATE_DATE is not null"); + return (Criteria) this; + } + + public Criteria andUpdateDateEqualTo(Date value) { + addCriterion("UPDATE_DATE =", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotEqualTo(Date value) { + addCriterion("UPDATE_DATE <>", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateGreaterThan(Date value) { + addCriterion("UPDATE_DATE >", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { + addCriterion("UPDATE_DATE >=", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateLessThan(Date value) { + addCriterion("UPDATE_DATE <", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateLessThanOrEqualTo(Date value) { + addCriterion("UPDATE_DATE <=", value, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateIn(List<Date> values) { + addCriterion("UPDATE_DATE in", values, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotIn(List<Date> values) { + addCriterion("UPDATE_DATE not in", values, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateBetween(Date value1, Date value2) { + addCriterion("UPDATE_DATE between", value1, value2, "updateDate"); + return (Criteria) this; + } + + public Criteria andUpdateDateNotBetween(Date value1, Date value2) { + addCriterion("UPDATE_DATE not between", value1, value2, "updateDate"); + return (Criteria) this; + } + + public Criteria andIsDelIsNull() { + addCriterion("IS_DEL is null"); + return (Criteria) this; + } + + public Criteria andIsDelIsNotNull() { + addCriterion("IS_DEL is not null"); + return (Criteria) this; + } + + public Criteria andIsDelEqualTo(String value) { + addCriterion("IS_DEL =", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotEqualTo(String value) { + addCriterion("IS_DEL <>", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThan(String value) { + addCriterion("IS_DEL >", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelGreaterThanOrEqualTo(String value) { + addCriterion("IS_DEL >=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThan(String value) { + addCriterion("IS_DEL <", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLessThanOrEqualTo(String value) { + addCriterion("IS_DEL <=", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelLike(String value) { + addCriterion("IS_DEL like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotLike(String value) { + addCriterion("IS_DEL not like", value, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelIn(List<String> values) { + addCriterion("IS_DEL in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotIn(List<String> values) { + addCriterion("IS_DEL not in", values, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelBetween(String value1, String value2) { + addCriterion("IS_DEL between", value1, value2, "isDel"); + return (Criteria) this; + } + + public Criteria andIsDelNotBetween(String value1, String value2) { + addCriterion("IS_DEL not between", value1, value2, "isDel"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List<?>) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +}
\ No newline at end of file |