Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7e106da0
authored
Jul 12, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成自定义的伪列
1 parent
7add6a71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
project-order/src/main/java/com/dituhui/pea/order/entity/EngineerSkillEntity.java
project-order/src/main/java/com/dituhui/pea/order/entity/PeaEntityId.java
project-order/src/main/java/com/dituhui/pea/order/entity/EngineerSkillEntity.java
View file @
7e106da
...
...
@@ -3,14 +3,14 @@ package com.dituhui.pea.order.entity;
import
lombok.Data
;
import
javax.persistence.*
;
import
java.io.Serializable
;
@Data
@Entity
@Table
(
name
=
"v_engineer_skill"
)
@Table
(
name
=
"v_engineer_skill"
)
public
class
EngineerSkillEntity
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@EmbeddedId
private
PeaEntityId
id
;
private
String
engineerCode
;
private
String
skillGroupCode
;
private
String
brand
;
...
...
project-order/src/main/java/com/dituhui/pea/order/entity/PeaEntityId.java
0 → 100644
View file @
7e106da
package
com
.
dituhui
.
pea
.
order
.
entity
;
import
javax.persistence.Embeddable
;
import
java.io.Serializable
;
@Embeddable
public
class
PeaEntityId
implements
Serializable
{
// Add fields that uniquely identify each entity
// Override equals() and hashCode() methods if needed
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment