资源简介

TkMybatis通用Mapper逆向工程代码生成工具,Maven项目工具;

资源截图

代码片段和文件信息

package com.atguigu.shop.entities;

import javax.persistence.*;

@Table(name = “tabple_emp“)
public class Employee {
    @Id
    @Column(name = “emp_id“)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer empId;

    @Column(name = “emp_name“)
    private String empName;

    @Column(name = “emp_salary_apple“)
    private Double empSalaryApple;

    @Column(name = “emp_age“)
    private Integer empAge;
    
    public Employee() {
// TODO Auto-generated constructor stub
}

    public Employee(Integer empId String empName Double empSalaryApple Integer empAge) {
super();
this.empId = empId;
this.empName = empName;
this.empSalaryApple = empSalaryApple;
this.empAge = empAge;
}

@Override
public String toString() {
return “Employee [empId=“ + empId + “ empName=“ + empName + “ empSalaryApple=“ + empSalaryApple + “ empAge=“
+ empAge + “]“;
}

/**
     * @return emp_id
     */
    public Integer getEmpId() {
        return empId;
    }

    /**
     * @param empId
     */
    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    /**
     * @return emp_name
     */
    public String getEmpName() {
        return empName;
    }

    /**
     * @param empName
     */
    public void setEmpName(String empName) {
        this.empName = empName;
    }

    /**
     * @return emp_salary_apple
     */
    public Double getEmpSalaryApple() {
        return empSalaryApple;
    }

    /**
     * @param empSalaryApple
     */
    public void setEmpSalaryApple(Double empSalaryApple) {
        this.empSalaryApple = empSalaryApple;
    }

    /**
     * @return emp_age
     */
    public Integer getEmpAge() {
        return empAge;
    }

    /**
     * @param empAge
     */
    public void setEmpAge(Integer empAge) {
        this.empAge = empAge;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1433  2018-03-22 11:56  Pro02MapperMBG\.classpath

     文件        566  2018-03-22 11:56  Pro02MapperMBG\.project

     文件        243  2018-03-22 11:56  Pro02MapperMBG\.settings\org.eclipse.jdt.core.prefs

     文件         90  2018-03-22 11:56  Pro02MapperMBG\.settings\org.eclipse.m2e.core.prefs

     文件       2741  2018-03-22 11:56  Pro02MapperMBG\pom.xml

     文件       1933  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\entities\Employee.java

     文件        185  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\mappers\EmployeeMapper.java

     文件       1503  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\test\MBGTest.java

     文件        389  2018-03-22 11:56  Pro02MapperMBG\src\main\resources\config.properties

     文件       1934  2018-03-22 11:56  Pro02MapperMBG\src\main\resources\generator\generatorConfig.xml

     文件        160  2018-03-22 11:56  Pro02MapperMBG\src\main\resources\jdbc.properties

     文件        659  2018-03-22 11:56  Pro02MapperMBG\src\main\resources\mappers\EmployeeMapper.xml

     文件        918  2018-03-22 11:56  Pro02MapperMBG\src\main\resources\mybatis-config.xml

     文件       2278  2018-03-22 11:56  Pro02MapperMBG\target\classes\com\atguigu\shop\entities\Employee.class

     文件        285  2018-03-22 11:56  Pro02MapperMBG\target\classes\com\atguigu\shop\mappers\EmployeeMapper.class

     文件       2563  2018-03-22 11:56  Pro02MapperMBG\target\classes\com\atguigu\shop\test\MBGTest.class

     文件        389  2018-03-22 11:56  Pro02MapperMBG\target\classes\config.properties

     文件       1934  2018-03-22 11:56  Pro02MapperMBG\target\classes\generator\generatorConfig.xml

     文件        160  2018-03-22 11:56  Pro02MapperMBG\target\classes\jdbc.properties

     文件        659  2018-03-22 11:56  Pro02MapperMBG\target\classes\mappers\EmployeeMapper.xml

     文件        108  2018-03-22 11:56  Pro02MapperMBG\target\classes\meta-INF\MANIFEST.MF

     文件        252  2018-03-22 11:56  Pro02MapperMBG\target\classes\meta-INF\maven\com.atguigu.mapper.mbg\Pro02MapperMBG\pom.properties

     文件       2741  2018-03-22 11:56  Pro02MapperMBG\target\classes\meta-INF\maven\com.atguigu.mapper.mbg\Pro02MapperMBG\pom.xml

     文件        918  2018-03-22 11:56  Pro02MapperMBG\target\classes\mybatis-config.xml

     目录          0  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\entities

     目录          0  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\mappers

     目录          0  2018-03-22 11:56  Pro02MapperMBG\src\main\java\com\atguigu\shop\test

     目录          0  2018-03-22 12:07  Pro02MapperMBG\src\main\java\com\atguigu\shop

     目录          0  2018-03-22 11:56  Pro02MapperMBG\target\classes\com\atguigu\shop\entities

     目录          0  2018-03-22 11:56  Pro02MapperMBG\target\classes\com\atguigu\shop\mappers

............此处省略29个文件信息

评论

共有 条评论