Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
84e0f926
Commit
84e0f926
authored
Apr 01, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加项目信息表
parent
3c1c6023
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
133 additions
and
0 deletions
+133
-0
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
+93
-0
src/main/java/cn/timer/api/dao/zpgl/ZpglRcxxProjectMapper.java
+18
-0
src/main/resources/mapping/zpgl/ZpglRcxxProjectMapper.xml
+22
-0
No files found.
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
0 → 100644
View file @
84e0f926
package
cn
.
timer
.
api
.
bean
.
zpgl
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.util.Date
;
/**
* 项目信息表
*
* @author wuqingjun
* @email 284718418@qq.com
* @date 2022-04-1 10:14:40
*/
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"zpgl_rcxx_project"
)
@Data
public
class
ZpglRcxxProject
extends
Model
<
ZpglRcxxProject
>
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
)
private
Integer
id
;
/**
* 人才信息ID
*/
@ApiModelProperty
(
value
=
"人才信息ID"
)
private
Integer
zpglRcxxId
;
/**
* 开始时间
*/
@ApiModelProperty
(
value
=
"开始时间"
)
private
Date
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
value
=
"结束时间"
)
private
Date
endTime
;
/**
* 项目名称
*/
@ApiModelProperty
(
value
=
"项目名称"
)
private
String
projectName
;
/**
* 项目角色:职位名称/职位名
*/
@ApiModelProperty
(
value
=
"项目角色:职位名称/职位名"
)
private
String
job
;
/**
* 工作描述:项目详情介绍
*/
@ApiModelProperty
(
value
=
"工作描述:项目详情介绍"
)
private
String
describe
;
/**
* 个人在该项目负责的具体工作详情
*/
@ApiModelProperty
(
value
=
"个人在该项目负责的具体工作详情"
)
private
String
duty
;
/**
* 项目地点城市或区域
*/
@ApiModelProperty
(
value
=
"项目地点城市或区域"
)
private
String
location
;
/**
* 创建时间
*/
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
createTime
;
/**
* 逻辑删除标记0.未删除 1.删除
*/
@ApiModelProperty
(
value
=
"逻辑删除标记0.未删除 1.删除"
)
private
Integer
deleteFlag
;
}
src/main/java/cn/timer/api/dao/zpgl/ZpglRcxxProjectMapper.java
0 → 100644
View file @
84e0f926
package
cn
.
timer
.
api
.
dao
.
zpgl
;
import
cn.timer.api.bean.zpgl.ZpglRcxxProject
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
/**
* 教育经历
*
* @author wuqingjun
* @email 284718418@qq.com
* @date 2022-03-08 15:14:40
*/
@Repository
public
interface
ZpglRcxxProjectMapper
extends
BaseMapper
<
ZpglRcxxProject
>
{
}
src/main/resources/mapping/zpgl/ZpglRcxxProjectMapper.xml
0 → 100644
View file @
84e0f926
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.zpgl.ZpglRcxxProjectMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"cn.timer.api.bean.zpgl.ZpglRcxxProject"
id=
"zpglRcxxProjectMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"startTime"
column=
"start_time"
/>
<result
property=
"endTime"
column=
"end_time"
/>
<result
property=
"projectName"
column=
"project_name"
/>
<result
property=
"job"
column=
"job"
/>
<result
property=
"describe"
column=
"describe"
/>
<result
property=
"duty"
column=
"duty"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"location"
column=
"location"
/>
<result
property=
"deleteFlag"
column=
"delete_flag"
/>
</resultMap>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment