diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java index b2ed759..fa1f05c 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.starter; import com.alibaba.fastjson.serializer.SerializerFeature; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java index 18d726c..fdb8ad5 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.starter; import com.diboot.core.plugin.PluginManager; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java index 981e1e9..9a26243 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.starter; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java index b825152..606e646 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.starter; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java b/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java index 8e72152..ea4e900 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java index e141116..0a0fc74 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java index 05b975a..fc24ed8 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java index 45a2255..2bb9617 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java index 866c3b4..8a42dc2 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java index cf862e4..00b5388 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java index 48b96e7..3c3dbf7 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java index 942fc72..484c3b9 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java index c1dfed7..9dcae17 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java index 2c15c86..a8ca963 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java index 9075e69..8eb367b 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java index f4b1cb6..f561b52 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import com.diboot.core.binding.binder.BaseBinder; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java index 9fa35e4..b143132 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import com.diboot.core.util.S; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java index 5173c85..db617bf 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import java.lang.annotation.Annotation; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java index 728aa35..f31f751 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java index 6aa5eae..6af8bff 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.parser; import com.diboot.core.util.BeanUtils; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java b/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java index a9ef334..d36ce48 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.query; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java b/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java index 8f359f8..c0b3485 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.binding.query; /** diff --git a/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java b/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java index 0b4f2c0..a642b32 100644 --- a/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java +++ b/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.config; import com.diboot.core.util.PropertiesUtils; diff --git a/diboot-core/src/main/java/com/diboot/core/config/Cons.java b/diboot-core/src/main/java/com/diboot/core/config/Cons.java index 8131ae0..dae1f52 100644 --- a/diboot-core/src/main/java/com/diboot/core/config/Cons.java +++ b/diboot-core/src/main/java/com/diboot/core/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.config; /** diff --git a/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java b/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java index 7860be2..3d604d4 100644 --- a/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java +++ b/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java b/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java index b4360e8..d979345 100644 --- a/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java +++ b/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.controller; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java index d815a09..fbf1e2e 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java b/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java index cb84b60..1a676b2 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java b/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java index de8cae3..c0bde0c 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java b/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java index ac7628b..d21a9d4 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.entity; import javax.validation.Valid; diff --git a/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java b/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java index bbec3db..7eba845 100644 --- a/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java +++ b/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.exception; import com.diboot.core.vo.Status; diff --git a/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java b/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java index 0ca611e..f1ade7b 100644 --- a/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java +++ b/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.handler; import com.diboot.core.exception.BusinessException; diff --git a/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java b/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java index d16d401..2dd7ab6 100644 --- a/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java +++ b/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; diff --git a/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java b/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java index 382af11..ec15f35 100644 --- a/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java +++ b/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.mapper; import com.diboot.core.entity.Dictionary; diff --git a/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java b/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java index 9c4fbeb..ecf6a5c 100644 --- a/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java +++ b/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.plugin; /** diff --git a/diboot-core/src/main/java/com/diboot/core/service/BaseService.java b/diboot-core/src/main/java/com/diboot/core/service/BaseService.java index 8eda6b4..afb4016 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/BaseService.java +++ b/diboot-core/src/main/java/com/diboot/core/service/BaseService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.service; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java b/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java index 47183bf..2a2e2a7 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java +++ b/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.service; import com.diboot.core.entity.Dictionary; diff --git a/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java b/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java index 9d837d5..1ea1221 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java +++ b/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.service.impl; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java b/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java index e98d19a..f256917 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java +++ b/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.service.impl; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java b/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java index cfeb29f..c77e687 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java +++ b/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; diff --git a/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java b/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java index e531f03..9f67eec 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java +++ b/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/util/D.java b/diboot-core/src/main/java/com/diboot/core/util/D.java index 7f0dd67..0806702 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/D.java +++ b/diboot-core/src/main/java/com/diboot/core/util/D.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; diff --git a/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java b/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java index 43fbfb3..6225eb4 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import org.slf4j.Logger; diff --git a/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java b/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java index 3011c57..4b8c190 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java +++ b/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/util/IGetter.java b/diboot-core/src/main/java/com/diboot/core/util/IGetter.java index 6025c9b..a878adc 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/IGetter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/IGetter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import java.io.Serializable; diff --git a/diboot-core/src/main/java/com/diboot/core/util/ISetter.java b/diboot-core/src/main/java/com/diboot/core/util/ISetter.java index 4d0ad82..ee4d335 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/ISetter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/ISetter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import java.io.Serializable; diff --git a/diboot-core/src/main/java/com/diboot/core/util/JSON.java b/diboot-core/src/main/java/com/diboot/core/util/JSON.java index 8cecf37..68916a4 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/JSON.java +++ b/diboot-core/src/main/java/com/diboot/core/util/JSON.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import com.alibaba.fastjson.JSONObject; diff --git a/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java b/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java index 9072789..d7c1768 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java +++ b/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-core/src/main/java/com/diboot/core/util/S.java b/diboot-core/src/main/java/com/diboot/core/util/S.java index 309614d..fced0c8 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/S.java +++ b/diboot-core/src/main/java/com/diboot/core/util/S.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java b/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java index a600aaa..c6d3265 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java +++ b/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import org.apache.ibatis.session.SqlSession; diff --git a/diboot-core/src/main/java/com/diboot/core/util/V.java b/diboot-core/src/main/java/com/diboot/core/util/V.java index 0edc933..186a2a0 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/V.java +++ b/diboot-core/src/main/java/com/diboot/core/util/V.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.util; import org.hibernate.validator.HibernateValidator; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java b/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java index baaac85..f00514b 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java b/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java index af461b0..4b03145 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; import com.diboot.core.util.S; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java b/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java index 623cf35..cb51df7 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; import lombok.Getter; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java b/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java index aae9e57..a4cfc51 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java b/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java index 84cc813..3c963fe 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; import com.baomidou.mybatisplus.core.metadata.IPage; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/Status.java b/diboot-core/src/main/java/com/diboot/core/vo/Status.java index 101600c..f440cd4 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/Status.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/Status.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.core.vo; /** diff --git a/diboot-core/src/test/java/diboot/core/test/StartupApplication.java b/diboot-core/src/test/java/diboot/core/test/StartupApplication.java index 1945235..0f46313 100644 --- a/diboot-core/src/test/java/diboot/core/test/StartupApplication.java +++ b/diboot-core/src/test/java/diboot/core/test/StartupApplication.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test; import org.springframework.boot.SpringApplication; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java index 57f139a..54a969b 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java index 7a43e56..daf1d3f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java index e7bdd22..1d0b71f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java index 67cf894..a404aa1 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java index 0d4cac1..0d231e6 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java index 62752a5..9696436 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java index 9a0199a..6e618b1 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java index c32c40d..515c7c8 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java index dc118f0..d2ec959 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java index 4964fda..a46b9cf 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java index 98fe3a8..fbec022 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java index a459172..1f62784 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service; import com.diboot.core.service.BaseService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java index 418a0a6..58594d6 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service; import com.diboot.core.service.BaseService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java index ce17ea6..0e4290f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java index 9f9cb7a..5a011be 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java index aa02988..2716d8b 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service.impl; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java index f3ad57b..935ac79 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service.impl; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java index 096e3a5..dab1619 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java index e541428..97e2706 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java index ce5bed0..a6cbf8f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java index f721daf..65a34c2 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntity; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java index 891a3f3..50cd84e 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java index 4fd287c..4644173 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java index 1f35d82..49e3025 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java index 190aadf..31196c0 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import lombok.Getter; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java index e28b9b7..d1f1966 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindField; diff --git a/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java b/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java index 9bcd518..da49d60 100644 --- a/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java +++ b/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.config; import com.alibaba.fastjson.serializer.SerializerFeature; diff --git a/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java b/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java index f6b7ff5..dd6517b 100644 --- a/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java +++ b/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.service; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java b/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java index ca53bb1..07be134 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/diboot-core/src/test/java/diboot/core/test/util/DTest.java b/diboot-core/src/test/java/diboot/core/test/util/DTest.java index fcfceb8..5045128 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/DTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/DTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.diboot.core.util.D; diff --git a/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java b/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java index b6227ec..4d34e20 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.diboot.core.util.Encryptor; diff --git a/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java b/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java index 492c9a6..5f70de0 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.diboot.core.util.PropertiesUtils; diff --git a/diboot-core/src/test/java/diboot/core/test/util/STest.java b/diboot-core/src/test/java/diboot/core/test/util/STest.java index d5e2d5e..1fd37db 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/STest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/STest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.diboot.core.util.S; diff --git a/diboot-core/src/test/java/diboot/core/test/util/VTest.java b/diboot-core/src/test/java/diboot/core/test/util/VTest.java index df9bd52..765d085 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/VTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/VTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 diboot.core.test.util; import com.diboot.core.util.S; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java b/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java index c2ab619..5b43ce3 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.config; /** diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java index 251c815..de1d126 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.controller; import com.diboot.core.config.BaseConfig; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java index 03d4b79..8ed345b 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.controller; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java b/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java index 194b9a9..2b123d3 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java index 2b9348a..6aeea29 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.excel; import com.alibaba.excel.annotation.ExcelIgnore; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java index 5b04d1b..e997363 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.excel.cache; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java index 4f7f0fe..116afb2 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.excel.converter; import com.alibaba.excel.converters.Converter; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java index d3392d0..e8baff0 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.excel.listener; import com.alibaba.excel.context.AnalysisContext; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java index e26f3f9..d68aad1 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.excel.listener; import com.alibaba.excel.context.AnalysisContext; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java b/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java index 63baec0..1f331f5 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java b/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java index 35fb235..27ee405 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.service; import com.diboot.core.service.BaseService; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java b/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java index 3a4be40..da8cac0 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java index 6c12b1f..935858f 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.starter; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java index 2327172..9e7ac0d 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.starter; import com.diboot.core.plugin.PluginManager; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java index 3f37c27..f348039 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.starter; import lombok.Data; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java index f378dd3..49e35f1 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.starter; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java index bd61d01..5d97e87 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.util; import com.alibaba.excel.EasyExcel; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java index 0dd57f6..be1231d 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.util; import com.diboot.core.exception.BusinessException; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java index 02a3eff..8165aea 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.util; import com.diboot.core.exception.BusinessException; @@ -78,7 +93,22 @@ public class HttpHelper { put("xsd", "text/xml"); put("xsl", "text/xml"); put("xslt", "text/xml"); - put("apk", "application/vnd.android.package-archive"); + put("apk", "application/vnd.android./* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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-archive"); }}; /** diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java index 0ae5978..5271cc4 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.util; import com.diboot.core.util.D; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java index 9b58110..70c9862 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.util; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java index 2a59b62..a58f05b 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java b/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java index 1debaa1..fa06847 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example; import com.diboot.file.starter.FileProperties; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java b/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java index a86da65..a2cf53a 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example; import org.springframework.boot.SpringApplication; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java index 6f88a15..dd66441 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom; import com.diboot.core.entity.BaseEntity; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java index 4af324a..ec4a401 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom; import com.alibaba.excel.annotation.ExcelProperty; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java index f62eaeb..ce47ffe 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom.listener; import com.diboot.core.util.BeanUtils; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java index b72076b..3c6feb1 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java index ff63d15..7f5e171 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom.service; import com.diboot.core.service.BaseService; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java index 9652c18..3861d3b 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.custom.service; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java index 7528118..5a0e475 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.test; import com.diboot.core.util.JSON; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java index d43034d..f87bd3c 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.test; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java index c462878..202eb45 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.test; import com.diboot.core.util.JSON; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java index 0201565..4943b36 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.file.example.test; import com.diboot.file.entity.UploadFile; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java index 96e1572..47b9cf7 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation; import java.lang.annotation.*; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java index 25d10c8..acfe451 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation; /** diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java index 89bbd69..8b0e3c9 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation.process; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java index 43830b4..9fdc059 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation.process; import com.diboot.core.util.V; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java index c454104..9f85d63 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation.process; import com.diboot.core.util.ContextHelper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java index f32c13d..d642916 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation.process; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java index 4e20917..cf5ed09 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.annotation.process; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java index 9f9ce9c..b27892c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.auth; import com.diboot.iam.dto.AuthCredential; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java index 5747814..d7a73c1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.auth; import com.diboot.core.util.ContextHelper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java index 3074329..de44204 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.auth; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java index 902502c..e5d0760 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.auth.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java b/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java index f15d392..57b213d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.config; import com.diboot.core.config.BaseConfig; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java index d8fb376..6914acf 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import com.diboot.iam.entity.IamUser; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java index cf9d60b..0102429 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java index 48f7b41..ea7cbde 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import com.diboot.iam.entity.IamFrontendPermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java index 3d0b618..5986b69 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java index 768d93b..195baa2 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import com.diboot.iam.entity.IamUser; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java index c336448..5c1a372 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.dto; import com.diboot.iam.config.Cons; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java index 4ad3cb4..7b88fee 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java index a53baea..07ea7b4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java index 2a73c56..c0d507a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java index 745565b..5d5a766 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java index db0abb0..64e772e 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java index 3486141..34261f3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java index 184785a..99793de 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java b/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java index b93db19..a5d3e83 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.exception; import com.diboot.core.exception.BusinessException; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java index 5862274..9475a0f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.jwt; import com.diboot.iam.config.Cons; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java index ced9b22..ee9b988 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.jwt; import com.diboot.core.service.BaseService; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java index 255e12e..67a3145 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.jwt; import com.diboot.core.util.JSON; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java index 0e189b4..8724a7c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java index 1d49807..4ddaa3a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java index fa27b1f..90518bb 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java index 9880892..513f03a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java index d417dae..442417c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java index b9f51ba..b7dddb1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java index 9d071e7..447333f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java index d5642f4..181e6a6 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.core.service.BaseService; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java index 7571ad0..228031c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.dto.ChangePwdDTO; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java index e1241ea..672c608 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java index c796a09..cfc008f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.entity.IamLoginTrace; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java index e05a031..57b4e10 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.entity.IamFrontendPermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java index 606dfb2..7a0195d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java index c4fe8c1..d5360b0 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java index dc210f2..dad6362 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service; import com.diboot.iam.dto.IamUserAccountDTO; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java index f2e9abb..2e153e5 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java index 8d2937d..27d1e4b 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java index 31862c9..a5b622f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java index fcb882a..453922b 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.diboot.iam.entity.IamLoginTrace; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java index efe79f7..ffe1a57 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java index 7d1fdc7..0766797 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java index e435154..fa1ed8f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java index 1f41d77..7e6d703 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java index 1ae0297..bb9a0e3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.starter; import com.diboot.core.service.impl.DictionaryServiceImpl; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java index ce732bd..403c71f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.starter; import com.diboot.core.exception.BusinessException; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java index cbf0caf..a6b515f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.starter; import com.diboot.core.plugin.PluginManager; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java index 9c4fd24..a96c1e8 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.starter; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java index 8bec11c..65c6b85 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.starter; import lombok.extern.slf4j.Slf4j; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java index 1f4316f..08cd8e4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.util; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java index e9d4d79..c010a0d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.util; import com.diboot.core.util.IGetter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java index a1bfff1..c87c29c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.util; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java index 26793be..7edbaa1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.util; import com.diboot.core.config.BaseConfig; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java index 20b4869..fbe35c1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.iam.entity.IamAccount; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java index c03ecbd..7a34df7 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java index 328090f..f70694f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java index 8323b20..b2398e4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java index ae0674e..51342ea 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.iam.entity.IamRolePermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java index 946197e..e269947 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java index 91b0531..08e85a3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.iam.entity.IamUserRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java index 4096764..115cd58 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *
+ * 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 + *
+ * https://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 com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..7ac0026 --- /dev/null +++ b/license.txt @@ -0,0 +1,13 @@ +Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). +
+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 +
+https://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. \ No newline at end of file