Skip to content

Commit

Permalink
write a line into test.file
Browse files Browse the repository at this point in the history
  • Loading branch information
huifer committed Nov 20, 2023
1 parent f12a062 commit 8a0d218
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 0 deletions.
120 changes: 120 additions & 0 deletions docs/spring/cs2a8d8e84-8745-11ee-af38-acde48001122.java
Original file line number Diff line number Diff line change
@@ -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<ShiroRoleBindResource> {

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;
}
}
38 changes: 38 additions & 0 deletions docs/spring/cs2abe1e8c-8745-11ee-af38-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/**
* Copyright 2009-2018 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.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;
}
}
21 changes: 21 additions & 0 deletions docs/spring/cs2aef7c5c-8745-11ee-af38-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright 2009-2015 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.
* <p>
* Base package for the Configuration building code
*/
/**
* Base package for the Configuration building code
*/
package org.apache.ibatis.builder;
20 changes: 20 additions & 0 deletions docs/spring/cs2b1c4b4c-8745-11ee-af38-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* 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.submitted.serializecircular;

public interface AttributeMapper {
Attribute getById(Integer anId);
}

0 comments on commit 8a0d218

Please sign in to comment.