fix: 普通纪念币,功能完善修复。

This commit is contained in:
tianyongbao
2026-02-22 16:53:13 +08:00
parent e7609723e2
commit 8be3f3b155
3 changed files with 87 additions and 12 deletions

View File

@@ -67,6 +67,34 @@ public class CommemorativeCoin extends BaseEntity
@Excel(name = "系列")
private String series;
/** 系列 */
@NotNull(message="发行量")
@Excel(name = "发行量")
private String mintage;
/** 材质 */
private String composition;
/** 重量 */
@ApiModelProperty(value="重量")
@Excel(name = "重量")
private String weight;
/** 规格尺寸 */
@ApiModelProperty(value="规格尺寸")
@Excel(name = "规格尺寸")
private String dimension;
/** 厚度 */
@ApiModelProperty(value="厚度")
@Excel(name = "厚度")
private String thickness;
/** 币齿 */
@ApiModelProperty(value="币齿")
@Excel(name = "币齿")
private String coinTeeth;
/** 套装编号 */
private String setNumber;
@@ -103,6 +131,12 @@ public class CommemorativeCoin extends BaseEntity
.append("delFlag", getDelFlag())
.append("remark", getRemark())
.append("collectFileList", getCollectFileList())
.append("mintage", getMintage())
.append("composition", getComposition())
.append("weight", getWeight())
.append("dimension", getDimension())
.append("thickness", getThickness())
.append("coinTeeth", getCoinTeeth())
.toString();
}
}

View File

@@ -28,7 +28,7 @@ public class CommemorativeCoinDto implements Serializable
/** 简称 */
@ApiModelProperty(value="简称")
private String shortName;
private String name;
/** 发行时间 */
@ApiModelProperty(value="发行时间")
@@ -51,4 +51,14 @@ public class CommemorativeCoinDto implements Serializable
@ApiModelProperty(value="形状")
private String shape;
/** 开始时间 */
@ApiModelProperty(value="开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
/** 结束时间 */
@ApiModelProperty(value="结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
}