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

Commit f659e88f authored by 张国柄's avatar 张国柄

~goblin:nft.sql;

~goblin:nft.entity;
parent a65d4815
......@@ -36,7 +36,7 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
@ApiModelProperty(position = 15, value = "单品详情展示文件URL[256]")
private String skuWatch;
@ApiModelProperty(position = 15, value = "展示文件类型[1-图片|2-视频|3-模型]")
private Integer watchType;
private String watchType;
@ApiModelProperty(position = 16, value = "ISBN,针对CD/图书等[50]")
private String skuIsbn;
@ApiModelProperty(position = 17, value = "总库存")
......@@ -91,11 +91,11 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
@ApiModelProperty(position = 33, value = "自定义展示[0-默认展示|1-隐藏不可购买]")
private String skuAppear;
@ApiModelProperty(position = 33, value = "素材原始文件类型[1-图片|2-视频|3-模型]")
private Integer materialType;
private String materialType;
@ApiModelProperty(position = 33, value = "素材原始文件URL")
private String materialUrl;
@ApiModelProperty(position = 33, value = "是否盲盒[0-否|1-是]")
private Integer unbox;
private String unbox;
@ApiModelProperty(position = 33, value = "盲盒命中率[0.01~100%]")
private BigDecimal hitRatio;
@ApiModelProperty(position = 33, value = "盲盒开启时间")
......
......@@ -65,7 +65,7 @@ public class GoblinGoodsSku implements Serializable {
/**
* 展示文件类型[1-图片|2-视频|3-模型]
*/
private Integer watchType;
private String watchType;
/**
* ISBN,针对CD/图书等
......@@ -190,7 +190,7 @@ public class GoblinGoodsSku implements Serializable {
/**
* 素材原始文件类型[1-图片|2-视频|3-模型]
*/
private Integer materialType;
private String materialType;
/**
* 素材原始文件URL
......@@ -200,7 +200,7 @@ public class GoblinGoodsSku implements Serializable {
/**
* 是否盲盒[0-否|1-是]
*/
private Integer unbox;
private String unbox;
/**
* 盲盒命中率[0.01~100%]
......
......@@ -12,7 +12,7 @@ alter table goblin_goods add publisher varchar(100) null comment '发行方' aft
alter table goblin_goods_sku add sku_type tinyint default 0 not null comment '商品类型[0-常规|1-数字藏品]' after sku_no;
alter table goblin_goods_sku add sku_watch varchar(256) null comment '展示文件URL' after sku_pic;
alter table goblin_goods_sku add watch_type tinyint null comment '展示文件类型[1-图片|2-视频|3-模型]' after sku_watch;
alter table goblin_goods_sku add watch_type char null comment '展示文件类型[1-图片|2-视频|3-模型]' after sku_watch;
alter table goblin_goods_sku add intro varchar(256) null comment '简介' after weight;
alter table goblin_goods_sku add details text null comment '详情' after intro;
......@@ -22,9 +22,9 @@ alter table goblin_goods_sku add shelves_time datetime null comment '预约上
alter table goblin_goods_sku add sale_start_time datetime null comment '开售时间' after shelves_time;
alter table goblin_goods_sku add sale_stop_time datetime null comment '停售时间' after sale_start_time;
alter table goblin_goods_sku add material_type tinyint null comment '素材原始文件类型[1-图片|2-视频|3-模型]' after sku_appear;
alter table goblin_goods_sku add material_type char null comment '素材原始文件类型[1-图片|2-视频|3-模型]' after sku_appear;
alter table goblin_goods_sku add material_url varchar(256) null comment '素材原始文件URL' after material_type;
alter table goblin_goods_sku add unbox tinyint default 0 null comment '是否盲盒[0-否|1-是]' after material_url;
alter table goblin_goods_sku add unbox char default '0' null comment '是否盲盒[0-否|1-是]' after material_url;
alter table goblin_goods_sku add hit_ratio decimal(3, 2) null comment '盲盒命中率[0.01~100%]' after unbox;
alter table goblin_goods_sku add opening_time datetime null comment '盲盒开启时间' after hit_ratio;
alter table goblin_goods_sku add opening_limit int default 0 comment '盲盒开启时限[单位秒]' after opening_time;
......
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