Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
15f800f7
Commit
15f800f7
authored
Dec 30, 2016
by
lee_mingzhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change something
parent
cfb2a0e0
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
297 additions
and
0 deletions
+297
-0
Address.java
src/main/java/cn/quantgroup/xyqb/entity/Address.java
+44
-0
Contact.java
src/main/java/cn/quantgroup/xyqb/entity/Contact.java
+34
-0
Merchant.java
src/main/java/cn/quantgroup/xyqb/entity/Merchant.java
+32
-0
MerchantConfig.java
src/main/java/cn/quantgroup/xyqb/entity/MerchantConfig.java
+34
-0
UserExtInfo.java
src/main/java/cn/quantgroup/xyqb/entity/UserExtInfo.java
+53
-0
EducationEnum.java
...va/cn/quantgroup/xyqb/entity/enumerate/EducationEnum.java
+7
-0
IncomeEnum.java
.../java/cn/quantgroup/xyqb/entity/enumerate/IncomeEnum.java
+13
-0
IncomeRangeEnum.java
.../cn/quantgroup/xyqb/entity/enumerate/IncomeRangeEnum.java
+23
-0
OccupationEnum.java
...a/cn/quantgroup/xyqb/entity/enumerate/OccupationEnum.java
+7
-0
IAddressRepository.java
...ava/cn/quantgroup/xyqb/repository/IAddressRepository.java
+10
-0
IContactRepository.java
...ava/cn/quantgroup/xyqb/repository/IContactRepository.java
+10
-0
IMerchantConfigRepository.java
...quantgroup/xyqb/repository/IMerchantConfigRepository.java
+10
-0
IMerchantRepository.java
...va/cn/quantgroup/xyqb/repository/IMerchantRepository.java
+10
-0
IUserExtInfo.java
...main/java/cn/quantgroup/xyqb/repository/IUserExtInfo.java
+10
-0
No files found.
src/main/java/cn/quantgroup/xyqb/entity/Address.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
;
import
lombok.Data
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.sql.Timestamp
;
/**
* Created by 11 on 2016/12/30.
*/
@Data
@Entity
@Table
(
name
=
"address"
,
uniqueConstraints
=
@UniqueConstraint
(
columnNames
=
"user_id"
))
public
class
Address
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1L
;
@Id
@Column
(
name
=
"id"
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@Column
(
name
=
"user_id"
)
private
Long
userId
;
@Column
(
name
=
"province_code"
)
private
Long
provinceCode
;
@Column
(
name
=
"province"
)
private
String
province
;
@Column
(
name
=
"city_code"
)
private
Long
cityCode
;
@Column
(
name
=
"city"
)
private
String
city
;
@Column
(
name
=
"districtCode"
)
private
Long
district_code
;
@Column
(
name
=
"district"
)
private
String
district
;
@Column
(
name
=
"address"
)
private
String
address
;
@Column
(
name
=
"created_at"
)
private
Timestamp
createdAt
;
@Column
(
name
=
"update_at"
)
private
Timestamp
updateAt
;
}
src/main/java/cn/quantgroup/xyqb/entity/Contact.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
;
import
lombok.Data
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.sql.Timestamp
;
/**
* Created by 11 on 2016/12/30.
*/
@Data
@Entity
@Table
(
name
=
"contact"
)
public
class
Contact
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1L
;
@Id
@Column
(
name
=
"id"
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@Column
(
name
=
"user_id"
)
private
Long
userId
;
@Column
(
name
=
"name"
)
private
String
name
;
@Column
(
name
=
"phone_no"
)
private
String
phoneNo
;
@Column
(
name
=
"relation"
)
private
String
relation
;
@Column
(
name
=
"create_at"
)
private
Timestamp
createdAt
;
@Column
(
name
=
"update_at"
)
private
Timestamp
updateAt
;
}
src/main/java/cn/quantgroup/xyqb/entity/Merchant.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
import
java.sql.Timestamp
;
/**
* Created by 11 on 2016/12/30.
*/
@Data
@Entity
@Table
(
name
=
"merchant"
)
public
class
Merchant
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1L
;
@Id
@Column
(
name
=
"id"
)
private
Long
id
;
@Column
(
name
=
"name"
)
private
String
name
;
@Column
(
name
=
"enable"
)
private
boolean
enable
;
@Column
(
name
=
"create_at"
)
private
Timestamp
createAt
;
@Column
(
name
=
"update_at"
)
private
Timestamp
updateAt
;
}
src/main/java/cn/quantgroup/xyqb/entity/MerchantConfig.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
import
java.sql.Timestamp
;
/**
* Created by 11 on 2016/12/30.
*/
@Data
@Entity
@Table
(
name
=
"merchant_config"
)
public
class
MerchantConfig
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1L
;
@Id
@Column
(
name
=
"id"
)
private
Long
id
;
@Column
(
name
=
"merchant_id"
)
private
Long
merchantId
;
@Column
(
name
=
"config_name"
)
private
String
configName
;
@Column
(
name
=
"config_value"
)
private
String
configValue
;
@Column
(
name
=
"created_at"
)
private
Timestamp
createdAt
;
@Column
(
name
=
"updated_at"
)
private
Timestamp
updateAt
;
}
src/main/java/cn/quantgroup/xyqb/entity/UserExtInfo.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
;
import
cn.quantgroup.xyqb.entity.enumerate.EducationEnum
;
import
cn.quantgroup.xyqb.entity.enumerate.IncomeEnum
;
import
cn.quantgroup.xyqb.entity.enumerate.IncomeRangeEnum
;
import
cn.quantgroup.xyqb.entity.enumerate.OccupationEnum
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
import
java.sql.Timestamp
;
/**
* Created by 11 on 2016/12/30.
*/
@Data
@Entity
@Table
(
name
=
"user_ext_info"
)
public
class
UserExtInfo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1L
;
@Id
@Column
(
name
=
"id"
)
private
Long
id
;
@Column
(
name
=
"user_id"
)
private
Long
userId
;
@Column
(
name
=
"means_of_income_payment"
)
private
IncomeEnum
incomeEnum
;
@Column
(
name
=
"monthly_income_range"
)
private
IncomeRangeEnum
incomeRangeEnum
;
@Column
(
name
=
"occupation"
)
private
OccupationEnum
occupationEnum
;
@Column
(
name
=
"education"
)
private
EducationEnum
educationEnum
;
@Column
(
name
=
"has_car"
)
private
boolean
hasCar
;
@Column
(
name
=
"has_social_security"
)
private
boolean
hasSocialSecurity
;
@Column
(
name
=
"has_house"
)
private
boolean
hasHouse
;
@Column
(
name
=
"has_credit_card"
)
private
boolean
hasCreditCard
;
@Column
(
name
=
"marry_status"
)
private
boolean
marryStatus
;
@Column
(
name
=
"created_at"
)
private
Timestamp
createdAt
;
@Column
(
name
=
"update_at"
)
private
Timestamp
updateAt
;
}
src/main/java/cn/quantgroup/xyqb/entity/enumerate/EducationEnum.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
.
enumerate
;
/**
* Created by 11 on 2016/12/30.
*/
public
enum
EducationEnum
{
}
src/main/java/cn/quantgroup/xyqb/entity/enumerate/IncomeEnum.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
.
enumerate
;
/**
* Created by 11 on 2016/12/30.
*/
public
enum
IncomeEnum
{
CASH
(
"现金结算"
),
SALARY_CARD
(
"工资卡"
),
MIXING
(
"混合"
);
private
String
desc
;
private
IncomeEnum
(
String
desc
){
this
.
desc
=
desc
;
}
}
\ No newline at end of file
src/main/java/cn/quantgroup/xyqb/entity/enumerate/IncomeRangeEnum.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
.
enumerate
;
/**
* Created by 11 on 2016/12/30.
*/
public
enum
IncomeRangeEnum
{
EMPTY
(
"暂无"
),
LT_ONE_THOUSAND
(
"小于1000元"
),
BT_ONE_AND_THREE_THOUSAND
(
"1000-3000元"
),
BT_THREE_AND_FIVE_THOUSAND
(
"3000-5000元"
),
BT_FIVE_AND_EIGHT_THOUSAND
(
"5000-8000元"
),
BT_EIGHT_AND_TEN_THOUSAND
(
"8000-10000元"
),
BT_TEN_AND_FIFTEEN_THOUSAND
(
"10000-15000元"
),
BT_FIFTEEN_AND_TWENTY_THOUSAND
(
"15000-20000元"
),
ABOVE_TWENTY_THOUSAND
(
"20000元以上"
);
private
String
desc
;
private
IncomeRangeEnum
(
String
desc
){
this
.
desc
=
desc
;
}
}
src/main/java/cn/quantgroup/xyqb/entity/enumerate/OccupationEnum.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
entity
.
enumerate
;
/**
* Created by 11 on 2016/12/30.
*/
public
enum
OccupationEnum
{
}
src/main/java/cn/quantgroup/xyqb/repository/IAddressRepository.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
repository
;
import
cn.quantgroup.xyqb.entity.Address
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* Created by 11 on 2016/12/30.
*/
public
interface
IAddressRepository
extends
JpaRepository
<
Address
,
Long
>
{
}
src/main/java/cn/quantgroup/xyqb/repository/IContactRepository.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
repository
;
import
cn.quantgroup.xyqb.entity.Contact
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* Created by 11 on 2016/12/30.
*/
public
interface
IContactRepository
extends
JpaRepository
<
Contact
,
Long
>
{
}
src/main/java/cn/quantgroup/xyqb/repository/IMerchantConfigRepository.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
repository
;
import
cn.quantgroup.xyqb.entity.MerchantConfig
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* Created by 11 on 2016/12/30.
*/
public
interface
IMerchantConfigRepository
extends
JpaRepository
<
MerchantConfig
,
Long
>{
}
src/main/java/cn/quantgroup/xyqb/repository/IMerchantRepository.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
repository
;
import
cn.quantgroup.xyqb.entity.Merchant
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* Created by 11 on 2016/12/30.
*/
public
interface
IMerchantRepository
extends
JpaRepository
<
Merchant
,
Long
>
{
}
src/main/java/cn/quantgroup/xyqb/repository/IUserExtInfo.java
0 → 100644
View file @
15f800f7
package
cn
.
quantgroup
.
xyqb
.
repository
;
import
cn.quantgroup.xyqb.entity.UserExtInfo
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* Created by 11 on 2016/12/30.
*/
public
interface
IUserExtInfo
extends
JpaRepository
<
UserExtInfo
,
Long
>
{
}
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