@date 2019年4月30日上午09:58:02 @desc 表格实体
| 5 | * @desc 表格实体 |
| 6 | */ |
| 7 | public class Table { |
| 8 | private String tableName; |
| 9 | |
| 10 | private String alias; |
| 11 | |
| 12 | private boolean useAs; |
| 13 | |
| 14 | public Table(String tableName) { |
| 15 | this(tableName, null, false); |
| 16 | } |
| 17 | |
| 18 | public Table(String tableName, String alias) { |
| 19 | this(tableName, alias, false); |
| 20 | } |
| 21 | |
| 22 | public Table(String tableName, String alias, boolean useAs) { |
| 23 | this.tableName = tableName; |
| 24 | this.alias = alias; |
| 25 | this.useAs = useAs; |
| 26 | } |
| 27 | |
| 28 | public String getTableName() { |
| 29 | return tableName; |
| 30 | } |
| 31 | |
| 32 | public String getAlias() { |
| 33 | return alias; |
| 34 | } |
| 35 | |
| 36 | public boolean isUseAs() { |
| 37 | return useAs; |
| 38 | } |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected