-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/** | ||
* Copyright 2009-2019 the original author or authors. | ||
* <p> | ||
* 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 | ||
* <p> | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* <p> | ||
* 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 org.apache.ibatis.autoconstructor; | ||
|
||
public class ExtensiveSubject { | ||
private final byte aByte; | ||
private final short aShort; | ||
private final char aChar; | ||
private final int anInt; | ||
private final long aLong; | ||
private final float aFloat; | ||
private final double aDouble; | ||
private final boolean aBoolean; | ||
private final String aString; | ||
|
||
// enum types | ||
private final TestEnum anEnum; | ||
|
||
// array types | ||
|
||
// string to lob types: | ||
private final String aClob; | ||
private final String aBlob; | ||
|
||
public ExtensiveSubject(final byte aByte, | ||
final short aShort, | ||
final char aChar, | ||
final int anInt, | ||
final long aLong, | ||
final float aFloat, | ||
final double aDouble, | ||
final boolean aBoolean, | ||
final String aString, | ||
final TestEnum anEnum, | ||
final String aClob, | ||
final String aBlob) { | ||
this.aByte = aByte; | ||
this.aShort = aShort; | ||
this.aChar = aChar; | ||
this.anInt = anInt; | ||
this.aLong = aLong; | ||
this.aFloat = aFloat; | ||
this.aDouble = aDouble; | ||
this.aBoolean = aBoolean; | ||
this.aString = aString; | ||
this.anEnum = anEnum; | ||
this.aClob = aClob; | ||
this.aBlob = aBlob; | ||
} | ||
|
||
public enum TestEnum { | ||
AVALUE, BVALUE, CVALUE | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.huifer.rbac.mapper; | ||
|
||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||
import org.apache.ibatis.annotations.Mapper; | ||
import org.huifer.rbac.entity.db.TRole; | ||
|
||
@Mapper | ||
public interface TRoleMapper extends BaseMapper<TRole> { | ||
} |