From 8a0d218070d21ecd0169240efeca1455ea2dcaf3 Mon Sep 17 00:00:00 2001 From: Zen Huifer Date: Mon, 20 Nov 2023 09:36:04 +0800 Subject: [PATCH] write a line into test.file --- ...s2a8d8e84-8745-11ee-af38-acde48001122.java | 120 ++++++++++++++++++ ...s2abe1e8c-8745-11ee-af38-acde48001122.java | 38 ++++++ ...s2aef7c5c-8745-11ee-af38-acde48001122.java | 21 +++ ...s2b1c4b4c-8745-11ee-af38-acde48001122.java | 20 +++ 4 files changed, 199 insertions(+) create mode 100644 docs/spring/cs2a8d8e84-8745-11ee-af38-acde48001122.java create mode 100644 docs/spring/cs2abe1e8c-8745-11ee-af38-acde48001122.java create mode 100644 docs/spring/cs2aef7c5c-8745-11ee-af38-acde48001122.java create mode 100644 docs/spring/cs2b1c4b4c-8745-11ee-af38-acde48001122.java diff --git a/docs/spring/cs2a8d8e84-8745-11ee-af38-acde48001122.java b/docs/spring/cs2a8d8e84-8745-11ee-af38-acde48001122.java new file mode 100644 index 00000000..656e461a --- /dev/null +++ b/docs/spring/cs2a8d8e84-8745-11ee-af38-acde48001122.java @@ -0,0 +1,120 @@ +package com.github.huifer.full.shiro.entity; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.Version; +import java.util.Date; +import com.baomidou.mybatisplus.extension.activerecord.Model; +import java.io.Serializable; + +/** + * 角色和资源绑定表(ShiroRoleBindResource)表实体类 + * + * @author huifer + * @since 2021-04-18 10:08:21 + */ +@SuppressWarnings("serial") +public class ShiroRoleBindResource extends Model { + + private Integer id; + + private Integer roleId; + + private Integer resourceId; + + private Date createTime; + + private Integer createUser; + + private Integer updateUser; + + private Date updateTime; + + @Version + private Integer version; + + @TableField + private Integer deleted; + + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getRoleId() { + return roleId; + } + + public void setRoleId(Integer roleId) { + this.roleId = roleId; + } + + public Integer getResourceId() { + return resourceId; + } + + public void setResourceId(Integer resourceId) { + this.resourceId = resourceId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getCreateUser() { + return createUser; + } + + public void setCreateUser(Integer createUser) { + this.createUser = createUser; + } + + public Integer getUpdateUser() { + return updateUser; + } + + public void setUpdateUser(Integer updateUser) { + this.updateUser = updateUser; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public Integer getDeleted() { + return deleted; + } + + public void setDeleted(Integer deleted) { + this.deleted = deleted; + } + + /** + * 获取主键值 + * + * @return 主键值 + */ + @Override + protected Serializable pkVal() { + return this.id; + } +} diff --git a/docs/spring/cs2abe1e8c-8745-11ee-af38-acde48001122.java b/docs/spring/cs2abe1e8c-8745-11ee-af38-acde48001122.java new file mode 100644 index 00000000..881b6bee --- /dev/null +++ b/docs/spring/cs2abe1e8c-8745-11ee-af38-acde48001122.java @@ -0,0 +1,38 @@ +/** + * Copyright 2009-2018 the original author or authors. + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.ibatis.submitted.constructor_columnprefix; + +public class Author { + private Integer id; + + private String name; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} diff --git a/docs/spring/cs2aef7c5c-8745-11ee-af38-acde48001122.java b/docs/spring/cs2aef7c5c-8745-11ee-af38-acde48001122.java new file mode 100644 index 00000000..266507d1 --- /dev/null +++ b/docs/spring/cs2aef7c5c-8745-11ee-af38-acde48001122.java @@ -0,0 +1,21 @@ +/** + * Copyright 2009-2015 the original author or authors. + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * Base package for the Configuration building code + */ +/** + * Base package for the Configuration building code + */ +package org.apache.ibatis.builder; diff --git a/docs/spring/cs2b1c4b4c-8745-11ee-af38-acde48001122.java b/docs/spring/cs2b1c4b4c-8745-11ee-af38-acde48001122.java new file mode 100644 index 00000000..fa4b01ba --- /dev/null +++ b/docs/spring/cs2b1c4b4c-8745-11ee-af38-acde48001122.java @@ -0,0 +1,20 @@ +/** + * Copyright 2009-2019 the original author or authors. + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.ibatis.submitted.serializecircular; + +public interface AttributeMapper { + Attribute getById(Integer anId); +}