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

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

~API:优惠券列表筛选时间格式问题更正;

parent a34dbb3a
......@@ -29,7 +29,7 @@ public class GoblinStoreMgtCertificationParam implements java.io.Serializable {
@ApiModelProperty(position = 14, required = true, value = "证件号码[32]", example = "111111111111111111")
@Size(max = 32, message = "证件号码位数超限")
private String personCertCode;
@ApiModelProperty(position = 15, required = true, value = "证件有效期[YYYY-MM-DD]", example = "2022-12-31")
@ApiModelProperty(position = 15, required = true, value = "证件有效期[yyyy-MM-dd]", example = "2022-12-31")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "证件有效期格式有误")
private String personCertValidity;
@ApiModelProperty(position = 16, required = true, value = "证件是否长期有效[0-否|1-是]", example = "0")
......@@ -64,7 +64,7 @@ public class GoblinStoreMgtCertificationParam implements java.io.Serializable {
@ApiModelProperty(position = 27, required = false, value = "统一社会信用代码[32]", example = "90000000000000005")
@Size(max = 32, message = "统一社会信用代码位数超限")
private String busCertCode;
@ApiModelProperty(position = 28, required = false, value = "营业执照有效期[YYYY-MM-DD]", example = "2022-12-31")
@ApiModelProperty(position = 28, required = false, value = "营业执照有效期[yyyy-MM-dd]", example = "2022-12-31")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "营业执照有效期格式有误")
private String busCertValidity;
@ApiModelProperty(position = 29, required = false, value = "营业执照是否长期有效[0-否|1-是]", example = "0")
......
......@@ -30,13 +30,13 @@ public class GoblinStoreMgtCouponFilterParam implements Serializable {
private String storeCouponNo;
@ApiModelProperty(position = 15, required = false, value = "卡券状态[0-等待开始|1-活动中|2-活动结束|3-停用]", allowableValues = "0,1,2,3")
private Integer state;
@ApiModelProperty(position = 16, required = false, value = "开始日期[YYYY-MM-DD]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "开始日期格式有误")
@ApiModelProperty(position = 16, required = false, value = "开始日期[yyyy-MM-dd HH:mm:ss]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_FULL, message = "开始日期格式有误")
private String startTime;
@ApiModelProperty(position = 17, required = false, value = "结束日期[YYYY-MM-DD]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "结束日期格式有误")
@ApiModelProperty(position = 17, required = false, value = "结束日期[yyyy-MM-dd HH:mm:ss]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_FULL, message = "结束日期格式有误")
private String endTime;
@ApiModelProperty(position = 18, required = false, value = "创建日期[YYYY-MM-DD]")
@ApiModelProperty(position = 18, required = false, value = "创建日期[yyyy-MM-dd]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "创建日期格式有误")
private String createdDt;
}
......@@ -101,10 +101,10 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
@ApiModelProperty(position = 28, required = true, value = "上架处理方式[1-等待手动上架|2-直接上架售卖|3-预约定时上架]", example = "1")
private String shelvesHandle;
@ApiModelProperty(position = 29, required = false, value = "预约上架时间[上架处理方式为3-预约定时上架时需要指定]")
@ApiModelProperty(position = 29, required = false, value = "预约上架时间[yyyy-MM-dd HH:mm:ss][上架处理方式为3-预约定时上架时需要指定]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_FULL, message = "预约上架时间格式有误")
private String shelvesTime;
@ApiModelProperty(position = 30, required = false, value = "商品有效期[YYYY-MM-DD]")
@ApiModelProperty(position = 30, required = false, value = "商品有效期[yyyy-MM-dd]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "商品有效期格式有误")
private String spuValidity;
@ApiModelProperty(position = 31, required = true, value = "是否虚拟商品[0-否|1-是]", allowableValues = "0,1", example = "0")
......
......@@ -34,7 +34,7 @@ public class GoblinStoreMgtGoodsFilterParam implements Serializable {
private String cateSid;
@ApiModelProperty(position = 17, required = false, value = "商品三级分类ID[30]")
private String cateTid;
@ApiModelProperty(position = 18, required = false, value = "创建日期[YYYY-MM-DD]")
@ApiModelProperty(position = 18, required = false, value = "创建日期[yyyy-MM-dd]")
@Pattern(regexp = LnsRegex.Valid.DATETIME_YMD, message = "创建日期格式有误")
private String createdDt;
@ApiModelProperty(position = 19, required = false, value = "价格区间MIN")
......
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