记得上下班打卡 | git大法好,push需谨慎

Commit 97ccd118 authored by 张国柄's avatar 张国柄

~api:藏品订单详情+藏品上链状态;

parent 7abfa333
......@@ -16,11 +16,13 @@ public class GoblinNftOrderArtworkInfoVo implements Serializable, Cloneable {
private static final long serialVersionUID = 5307265664272864863L;
@ApiModelProperty(position = 10, value = "商品单品ID")
private String artworkId;
@ApiModelProperty(position = 11, value = "转赠状态[PENDING|SUCCESS],为空代表未发生转赠")
@ApiModelProperty(position = 11, value = "藏品状态[0-生成中|1-已生成]")
private Integer state;
@ApiModelProperty(position = 12, value = "转赠状态[PENDING|SUCCESS],为空代表未发生转赠")
private String transferState;
@ApiModelProperty(position = 12, value = "受赠人信息")
@ApiModelProperty(position = 13, value = "受赠人信息")
private String receiverUser;
@ApiModelProperty(position = 13, value = "藏品转赠时间[yyyy-MM-dd HH:mm:ss]")
@ApiModelProperty(position = 14, value = "藏品转赠时间[yyyy-MM-dd HH:mm:ss]")
@JsonFormat(shape=JsonFormat.Shape.STRING, pattern= DateUtil.DATE_FULL_STR)
private LocalDateTime transferTime;
......@@ -42,6 +44,7 @@ public class GoblinNftOrderArtworkInfoVo implements Serializable, Cloneable {
public GoblinNftOrderArtworkInfoVo copy(GoblinUserDigitalArtworkVo source) {
if (null == source) return this;
this.setArtworkId(source.getArtworkId());
this.setState(source.getState());
this.setTransferState(source.getTransferState());
if (StringUtils.isNotEmpty(source.getTransferState())) {
this.setReceiverUser(source.getReceiverUser());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment