refactor(nex-be): 将镜像发布状态字段类型从 String 改为 Integer
- 修改了 imageDesktop 类中的 publishStatus 字段类型从 String 改为 Integer- 相应地修改了 imageDesktopReq 和 imageDesktopRes 类中的字段类型 - 这个改动可以提高数据的一致性和可靠性,减少潜在的错误master
parent
52becc4f3f
commit
65365b2a86
|
|
@ -57,7 +57,7 @@ public class ImageDesktop extends Model<ImageDesktop> {
|
||||||
|
|
||||||
@TableField(value = "publish_status")
|
@TableField(value = "publish_status")
|
||||||
@ApiModelProperty("发布状态")
|
@ApiModelProperty("发布状态")
|
||||||
private String publishStatus;
|
private Integer publishStatus;
|
||||||
/**
|
/**
|
||||||
* 操作系统
|
* 操作系统
|
||||||
**/
|
**/
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ public class ImageDesktopReq {
|
||||||
**/
|
**/
|
||||||
@JsonProperty("publish_status")
|
@JsonProperty("publish_status")
|
||||||
@ApiModelProperty("发布状态")
|
@ApiModelProperty("发布状态")
|
||||||
private String publishStatus;
|
private Integer publishStatus;
|
||||||
/**
|
/**
|
||||||
* 操作系统
|
* 操作系统
|
||||||
**/
|
**/
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ public class ImageDesktopRes implements Serializable {
|
||||||
**/
|
**/
|
||||||
@JsonProperty("publish_status")
|
@JsonProperty("publish_status")
|
||||||
@ApiModelProperty("发布状态")
|
@ApiModelProperty("发布状态")
|
||||||
private String publishStatus;
|
private Integer publishStatus;
|
||||||
/**
|
/**
|
||||||
* 操作系统
|
* 操作系统
|
||||||
**/
|
**/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue