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 Jan 17, 2025
1 parent 31d9799 commit 1e89e62
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 0 deletions.
81 changes: 81 additions & 0 deletions docs/spring/cs6ccd735a-d473-11ef-8d93-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
package org.huifer.rbac.entity.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 按钮表
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "rbac.t_btn")
public class TBtn implements Serializable {
public static final String COL_ID = "id";
public static final String COL_NAME = "name";
public static final String COL_TYPE = "type";
public static final String COL_CREATE_TIME = "create_time";
public static final String COL_CREATE_USER = "create_user";
public static final String COL_UPDATE_TIME = "update_time";
public static final String COL_UPDATE_USER = "update_user";
public static final String COL_VERSION = "version";
public static final String COL_IS_DELETE = "is_delete";
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 名称
*/
@TableField(value = "name")
private String name;
/**
* 终端类型 PC , IOS , ANDROID
*/
@TableField(value = "type")
private String type;
/**
* 创建时间
*/
@TableField(value = "create_time")
private LocalDateTime createTime;
/**
* 创建人
*/
@TableField(value = "create_user")
private Long createUser;
/**
* 修改时间
*/
@TableField(value = "update_time")
private LocalDateTime updateTime;
/**
* 修改人
*/
@TableField(value = "update_user")
private Long updateUser;
/**
* 版本
*/
@TableField(value = "version")
@Version
private Long version;
/**
* 是否删除标记
*/
@TableField(value = "is_delete")
@TableLogic
private Integer isDelete;
}
9 changes: 9 additions & 0 deletions docs/spring/cs6d0c724e-d473-11ef-8d93-acde48001122.java
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.Demo;

@Mapper
public interface DemoMapper extends BaseMapper<Demo> {
}
31 changes: 31 additions & 0 deletions docs/spring/cs6d51e1ee-d473-11ef-8d93-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package com.huifer.struts.action;

import com.opensymphony.xwork2.ActionSupport;

/**
* 描述:
*
* @author huifer
* @date 2019-02-21
*/
public class UserAction extends ActionSupport {
public String find() {
System.out.println("find user");
return NONE;
}

public String update() {
System.out.println("find update");
return NONE;
}

public String delete() {
System.out.println("find delete");
return NONE;
}

public String save() {
System.out.println("find save");
return NONE;
}
}
16 changes: 16 additions & 0 deletions docs/spring/cs6d990dbc-d473-11ef-8d93-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.huifer.security;

import com.huifer.security.properties.SecurityProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
* 描述:
*
* @author: huifer
* @date: 2019-11-17
*/
@Configuration
@EnableConfigurationProperties(SecurityProperties.class)
public class SecurityCoreConfig {
}
38 changes: 38 additions & 0 deletions docs/spring/cs6de32b72-d473-11ef-8d93-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.discriminator;

public class Vehicle {
protected Integer id;
protected String maker;

public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}

public String getMaker() {
return maker;
}

public void setMaker(String maker) {
this.maker = maker;
}
}
20 changes: 20 additions & 0 deletions docs/spring/cs6e25196a-d473-11ef-8d93-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 DepartmentMapper {
Department getById(Integer anId);
}
11 changes: 11 additions & 0 deletions docs/spring/cs6e61af10-d473-11ef-8d93-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.huifer.spring.demo;

import org.huifer.spring.annotation.HFService;

@HFService(name = "demoService")
public class IDemoServiceImpl implements IDemoService {

public String call(String name, int age) {
return name + age;
}
}
35 changes: 35 additions & 0 deletions docs/spring/cs6ea597d4-d473-11ef-8d93-acde48001122.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* 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.
*/
package org.apache.ibatis.submitted.manyanno;

public class AnnoPostTag {

private int id;
private String name;

public AnnoPostTag(int id, String name) {
this.id = id;
this.name = name;
}

public int getId() {
return id;
}

public String getName() {
return name;
}
}

0 comments on commit 1e89e62

Please sign in to comment.