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
1a87af44
Commit
1a87af44
authored
Mar 09, 2022
by
龙于生
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交错分支 删除提交代码
parent
2581a01e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
99 deletions
+0
-99
src/main/java/cn/timer/api/bean/serverurl/CompanyServerUrl.java
+0
-71
src/main/java/cn/timer/api/dao/serverurl/CompanyServerUrlMapper.java
+0
-10
src/main/resources/mapping/serverurl/CompanyServerUrlMapper.xml
+0
-18
No files found.
src/main/java/cn/timer/api/bean/serverurl/CompanyServerUrl.java
deleted
100644 → 0
View file @
2581a01e
package
cn
.
timer
.
api
.
bean
.
serverurl
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModel
;
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
;
/**
* 公司服务端地址表
*/
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"company_server_url"
)
@Data
@ApiModel
(
"公司服务端地址表"
)
public
class
CompanyServerUrl
extends
Model
<
CompanyServerUrl
>
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"ID"
)
private
Long
id
;
/**
* 公司名称
*/
@ApiModelProperty
(
value
=
"公司名称"
)
private
String
companyName
;
/**
* 服务端IP地址或域名地址
*/
@ApiModelProperty
(
value
=
"服务端IP地址或域名地址"
)
private
String
serverUrl
;
/**
* 状态 0停用 1启用
*/
@ApiModelProperty
(
value
=
"状态 0停用 1启用"
)
private
Integer
status
;
/**
* 排序 数字越大排最前面
*/
@ApiModelProperty
(
value
=
"排序 数字越大排最前面"
)
private
Integer
sort
;
/**
* 备注
*/
@ApiModelProperty
(
value
=
"备注"
)
private
String
note
;
}
src/main/java/cn/timer/api/dao/serverurl/CompanyServerUrlMapper.java
deleted
100644 → 0
View file @
2581a01e
package
cn
.
timer
.
api
.
dao
.
serverurl
;
import
cn.timer.api.bean.serverurl.CompanyServerUrl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
@Repository
public
interface
CompanyServerUrlMapper
extends
BaseMapper
<
CompanyServerUrl
>
{
}
src/main/resources/mapping/serverurl/CompanyServerUrlMapper.xml
deleted
100644 → 0
View file @
2581a01e
<?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.serverurl.CompanyServerUrlMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"cn.timer.api.bean.serverurl.CompanyServerUrl"
id=
"company"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"companyName"
column=
"company_name"
/>
<result
property=
"serverUrl"
column=
"server_url"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"note"
column=
"note"
/>
</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