记得上下班打卡 | 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
77d2ae8d
Commit
77d2ae8d
authored
Mar 14, 2022
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实现zxtnft购买功能
parent
9fb61de5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
80 deletions
+80
-80
GalaxyNftBuyReqDto.java
.../com/liquidnet/service/galaxy/dto/GalaxyNftBuyReqDto.java
+80
-80
No files found.
liquidnet-bus-api/liquidnet-service-galaxy-api/src/main/java/com/liquidnet/service/galaxy/dto/GalaxyNftBuyReqDto.java
View file @
77d2ae8d
//
package com.liquidnet.service.galaxy.dto;
package
com
.
liquidnet
.
service
.
galaxy
.
dto
;
//
//
import com.liquidnet.commons.lang.util.JsonUtils;
import
com.liquidnet.commons.lang.util.JsonUtils
;
//
import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModel
;
//
import io.swagger.annotations.ApiModelProperty;
import
io.swagger.annotations.ApiModelProperty
;
//
import lombok.Data;
import
lombok.Data
;
//
//
import javax.validation.constraints.NotBlank;
import
javax.validation.constraints.NotBlank
;
//
import javax.validation.constraints.Size;
import
javax.validation.constraints.Size
;
//
import java.io.Serializable;
import
java.io.Serializable
;
//
/
//
**
/**
//
* @author AnJiabin <anjiabin@zhengzai.tv>
* @author AnJiabin <anjiabin@zhengzai.tv>
//
* @version V1.0
* @version V1.0
//
* @Description: NFT购买(涉及NFT发行、NFT购买)
* @Description: NFT购买(涉及NFT发行、NFT购买)
//
* @class: GalaxyNftBuyReqDto
* @class: GalaxyNftBuyReqDto
//
* @Package com.liquidnet.service.galaxy.dto
* @Package com.liquidnet.service.galaxy.dto
//
* @Copyright: LightNet @ Copyright (c) 2021
* @Copyright: LightNet @ Copyright (c) 2021
//
* @date 2022/3/14 18:13
* @date 2022/3/14 18:13
//
*/
*/
//
@ApiModel(value = "GalaxyNftBuyReqDto", description = "NFT购买")
@ApiModel
(
value
=
"GalaxyNftBuyReqDto"
,
description
=
"NFT购买"
)
//
@Data
@Data
//
public class GalaxyNftBuyReqDto implements Serializable,Cloneable {
public
class
GalaxyNftBuyReqDto
implements
Serializable
,
Cloneable
{
// @ApiModelProperty(position = 1, required = true, value = "用户ID[30]")
/**
// @NotBlank(message = "用户ID不能为空!")
* 以下为发行参数***********************************
// @Size(min = 1, max = 30, message = "用户ID限制2-30位且不能包含特殊字符")
*/
// private String userId;
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"用户ID[30]"
)
// /**
@NotBlank
(
message
=
"用户ID不能为空!"
)
// * skuId
@Size
(
min
=
1
,
max
=
30
,
message
=
"用户ID限制2-30位且不能包含特殊字符"
)
// */
private
String
userId
;
// private String skuId;
/**
// /**
* skuId
// * nft名字(sku名称),中英文数字均可,不超过256个字符
*/
// */
private
String
skuId
;
// private String name;
/**
// /**
* nft名字(sku名称),中英文数字均可,不超过256个字符
// * nftUrl,不超过1024个字符
*/
// */
private
String
name
;
// private String url;
/**
// /**
* nftUrl,不超过1024个字符
// * 预览图url,不超过1024个字符。(至信链浏览器展示预览图尺寸为290*290,请上传比例为1:1的图片)
*/
// */
private
String
url
;
// private String displayUrl;
/**
// /**
* 预览图url,不超过1024个字符。(至信链浏览器展示预览图尺寸为290*290,请上传比例为1:1的图片)
// * nft简介,500个字符以内
*/
// */
private
String
displayUrl
;
// private String desc;
/**
// /**
* nft简介,500个字符以内
// * 系列一共有多少个,0表示没有限制
*/
// */
private
String
desc
;
// private Long totalCount;
/**
// /**
* 标签,【文创】,游戏,动漫,30个字符以内
// * 系列封面url,不超过1024个字符
* 非必填
//
*/
*/
// private String coverUrl
;
private
String
flag
;
//
/**
/**
// * 系列描述信息,不超过500个字符
* 发行量,如果没有系列,就只能为1,如果有系列从1开始,比如如有100个,系列id范围则为[1-100],单次发行个数不超过1000,
// */
* 同系列下同介质个数总共不能超过3000
// private String desc;
*/
// /**
private
String
publishCount
;
// * 标签,【文创】,游戏,动漫,30个字符以内
/**
// * 非必填
* 可售状态下有意义,表示售卖多少积分
//
*/
*/
// private String flag
;
private
String
sellCount
;
//
//
@Override
@Override
//
public String toString(){
public
String
toString
(){
//
return JsonUtils.toJson(this);
return
JsonUtils
.
toJson
(
this
);
//
}
}
//
//
private static final GalaxyNftBuyReqDto obj = new GalaxyNftBuyReqDto();
private
static
final
GalaxyNftBuyReqDto
obj
=
new
GalaxyNftBuyReqDto
();
//
//
public static GalaxyNftBuyReqDto getNew() {
public
static
GalaxyNftBuyReqDto
getNew
()
{
//
try {
try
{
//
return (GalaxyNftBuyReqDto) obj.clone();
return
(
GalaxyNftBuyReqDto
)
obj
.
clone
();
//
} catch (CloneNotSupportedException e) {
}
catch
(
CloneNotSupportedException
e
)
{
//
return new GalaxyNftBuyReqDto();
return
new
GalaxyNftBuyReqDto
();
//
}
}
//
}
}
//
}
}
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