秒杀时间段优化,hutool升级到5.2.5,swagger contact修改去掉idea启动的warn及其其他警告

This commit is contained in:
hupeng
2020-04-06 12:09:51 +08:00
parent d0a8cd1c7a
commit 2fa92da5c9
16 changed files with 48 additions and 11 deletions

View File

@ -148,6 +148,9 @@ public class YxStoreSeckill implements Serializable {
@Column(name = "is_show",nullable = false)
private Integer isShow;
@NotNull(message = "请选择开始时间")
private Integer timeId;
public void copy(YxStoreSeckill source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}

View File

@ -94,4 +94,6 @@ public class YxStoreSeckillDTO implements Serializable {
private Date endTimeDate;
private String statusStr;
private Integer timeId;
}