记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
e2da7698
Commit
e2da7698
authored
Mar 23, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+goblin:nft.entity;
parent
4efd7d82
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
323 additions
and
5 deletions
+323
-5
GoblinDigitalArtwork.java
...liquidnet/service/goblin/entity/GoblinDigitalArtwork.java
+86
-0
GoblinGoods.java
...java/com/liquidnet/service/goblin/entity/GoblinGoods.java
+22
-5
GoblinGoodsSku.java
...a/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
+85
-0
GoblinGoodsSkuExcode.java
...liquidnet/service/goblin/entity/GoblinGoodsSkuExcode.java
+88
-0
GoblinDigitalArtworkMapper.java
...net/service/goblin/mapper/GoblinDigitalArtworkMapper.java
+16
-0
GoblinGoodsSkuExcodeMapper.java
...net/service/goblin/mapper/GoblinGoodsSkuExcodeMapper.java
+16
-0
GoblinDigitalArtworkMapper.xml
...dnet.service.goblin.mapper/GoblinDigitalArtworkMapper.xml
+5
-0
GoblinGoodsSkuExcodeMapper.xml
...dnet.service.goblin.mapper/GoblinGoodsSkuExcodeMapper.xml
+5
-0
No files found.
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinDigitalArtwork.java
0 → 100644
View file @
e2da7698
package
com
.
liquidnet
.
service
.
goblin
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* <p>
* 数字藏品信息
* </p>
*
* @author liquidnet
* @since 2022-03-23
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
GoblinDigitalArtwork
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* 藏品订单号
*/
private
String
orderId
;
/**
* 用户UID
*/
private
String
uid
;
/**
* 单品ID
*/
private
String
skuId
;
/**
* 盲盒开启时间
*/
private
LocalDateTime
openingAt
;
/**
* 藏品状态[0-生成中/未开启|1-已生成/已开启|2-生成失败/开启失败]
*/
private
String
state
;
/**
* 序列号
*/
private
Integer
editionSn
;
/**
* 发行标识
*/
private
String
nftId
;
/**
* 发行时间
*/
private
LocalDateTime
releaseAt
;
/**
* 交易时间
*/
private
LocalDateTime
tradingAt
;
/**
* 删除标记[0-未删除|1-删除]
*/
private
String
delFlg
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
updatedAt
;
private
LocalDateTime
deletedAt
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoods.java
View file @
e2da7698
package
com
.
liquidnet
.
service
.
goblin
.
entity
;
package
com
.
liquidnet
.
service
.
goblin
.
entity
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
...
@@ -38,6 +35,11 @@ public class GoblinGoods implements Serializable {
...
@@ -38,6 +35,11 @@ public class GoblinGoods implements Serializable {
*/
*/
private
String
spuNo
;
private
String
spuNo
;
/**
* 商品类型[0-常规|1-数字藏品]
*/
private
Integer
spuType
;
/**
/**
* 商品名称
* 商品名称
*/
*/
...
@@ -73,6 +75,11 @@ public class GoblinGoods implements Serializable {
...
@@ -73,6 +75,11 @@ public class GoblinGoods implements Serializable {
*/
*/
private
String
details
;
private
String
details
;
/**
* 注意事项
*/
private
String
attention
;
/**
/**
* 封面图片地址
* 封面图片地址
*/
*/
...
@@ -134,12 +141,22 @@ public class GoblinGoods implements Serializable {
...
@@ -134,12 +141,22 @@ public class GoblinGoods implements Serializable {
private
String
shelvesHandle
;
private
String
shelvesHandle
;
/**
/**
* 上架处理方式为3-预约定时上架时需要指定]
*
预约上架时间[
上架处理方式为3-预约定时上架时需要指定]
*/
*/
private
LocalDateTime
shelvesTime
;
private
LocalDateTime
shelvesTime
;
/**
/**
* 商品有效期
* 开售时间
*/
private
LocalDateTime
saleStartAt
;
/**
* 停售时间
*/
private
LocalDateTime
saleStopAt
;
/**
* 商品有效期[YYYY-MM-DD]
*/
*/
private
LocalDateTime
spuValidity
;
private
LocalDateTime
spuValidity
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
View file @
e2da7698
...
@@ -32,6 +32,11 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -32,6 +32,11 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
String
skuNo
;
private
String
skuNo
;
/**
* 商品类型[0-常规|1-数字藏品]
*/
private
Integer
skuType
;
/**
/**
* 单品的名称
* 单品的名称
*/
*/
...
@@ -42,6 +47,11 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -42,6 +47,11 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
String
subtitle
;
private
String
subtitle
;
/**
* 详情
*/
private
String
details
;
/**
/**
* 单品销售价-原价
* 单品销售价-原价
*/
*/
...
@@ -57,6 +67,16 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -57,6 +67,16 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
String
skuIsbn
;
private
String
skuIsbn
;
/**
* 展示文件URL
*/
private
String
skuWatch
;
/**
* 素材原始文件URL
*/
private
String
materialOriginalUrl
;
/**
/**
* 总库存
* 总库存
*/
*/
...
@@ -67,6 +87,11 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -67,6 +87,11 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
Integer
skuStock
;
private
Integer
skuStock
;
/**
* 兑换库存
*/
private
Integer
giftStock
;
/**
/**
* 预警库存
* 预警库存
*/
*/
...
@@ -107,6 +132,26 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -107,6 +132,26 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
String
storeId
;
private
String
storeId
;
/**
* 上架处理方式[1-等待手动上架|2-直接上架售卖|3-预约定时上架]
*/
private
String
shelvesHandle
;
/**
* 预约上架时间[上架处理方式为3-预约定时上架时需要指定]
*/
private
LocalDateTime
shelvesTime
;
/**
* 开售时间
*/
private
LocalDateTime
saleStartAt
;
/**
* 停售时间
*/
private
LocalDateTime
saleStopAt
;
/**
/**
* 单品有效期
* 单品有效期
*/
*/
...
@@ -137,6 +182,46 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -137,6 +182,46 @@ public class GoblinGoodsSku implements Serializable {
*/
*/
private
String
skuAppear
;
private
String
skuAppear
;
/**
* 是否盲盒[0-否|1-是]
*/
private
Integer
unbox
;
/**
* 盲盒命中率
*/
private
String
hitRatio
;
/**
* 盲盒开启时间
*/
private
LocalDateTime
openingTime
;
/**
* 盲盒开启时限[单位秒]
*/
private
Integer
openingLimit
;
/**
* NFT路由
*/
private
String
routeType
;
/**
* NFT预览图URL
*/
private
String
displayUrl
;
/**
* NFT素材访问URL
*/
private
String
materialAccessUrl
;
/**
* NFT系列ID
*/
private
String
seriesId
;
/**
/**
* 删除标记[0-未删除|1删除]
* 删除标记[0-未删除|1删除]
*/
*/
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSkuExcode.java
0 → 100644
View file @
e2da7698
package
com
.
liquidnet
.
service
.
goblin
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* <p>
* 单品兑换码
* </p>
*
* @author liquidnet
* @since 2022-03-23
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
GoblinGoodsSkuExcode
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* 单品ID
*/
private
String
skuId
;
/**
* 生成数量
*/
private
Integer
num
;
/**
* 兑换码类型[0-普通商品|1-数字藏品|2-数字藏品盲盒]
*/
private
Integer
type
;
/**
* 单品兑换码
*/
private
String
code
;
/**
* 兑换码状态[0-未兑换|1-已兑换|10-用作生成模版]
*/
private
Integer
state
;
/**
* 开始时间
*/
private
LocalDateTime
startAt
;
/**
* 截止时间
*/
private
LocalDateTime
stopAt
;
/**
* 兑换用户UID
*/
private
String
redeemUid
;
/**
* 兑换内容描述
*/
private
String
redeemFor
;
/**
* 兑换时间
*/
private
LocalDateTime
redeemAt
;
private
String
operator
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
updatedAt
;
private
LocalDateTime
deletedAt
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/mapper/GoblinDigitalArtworkMapper.java
0 → 100644
View file @
e2da7698
package
com
.
liquidnet
.
service
.
goblin
.
mapper
;
import
com.liquidnet.service.goblin.entity.GoblinDigitalArtwork
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 数字藏品信息 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2022-03-23
*/
public
interface
GoblinDigitalArtworkMapper
extends
BaseMapper
<
GoblinDigitalArtwork
>
{
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/mapper/GoblinGoodsSkuExcodeMapper.java
0 → 100644
View file @
e2da7698
package
com
.
liquidnet
.
service
.
goblin
.
mapper
;
import
com.liquidnet.service.goblin.entity.GoblinGoodsSkuExcode
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 单品兑换码 Mapper 接口
* </p>
*
* @author liquidnet
* @since 2022-03-23
*/
public
interface
GoblinGoodsSkuExcodeMapper
extends
BaseMapper
<
GoblinGoodsSkuExcode
>
{
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinDigitalArtworkMapper.xml
0 → 100644
View file @
e2da7698
<?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=
"com.liquidnet.service.goblin.mapper.GoblinDigitalArtworkMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinGoodsSkuExcodeMapper.xml
0 → 100644
View file @
e2da7698
<?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=
"com.liquidnet.service.goblin.mapper.GoblinGoodsSkuExcodeMapper"
>
</mapper>
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