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

Commit 41416aa4 authored by 姜秀龙's avatar 姜秀龙

LostFoundItem add 发布人uid

parent e2ff8e76
......@@ -46,4 +46,8 @@ public class SweetLostFoundItemParam implements Serializable {
@NotBlank(message = "物品图片URL不能为空")
private String itemImage;
@ApiModelProperty("发布人uid")
@NotBlank(message = "发布人uid不能为空")
private String publisherUid;
}
\ No newline at end of file
......@@ -38,6 +38,9 @@ public class SweetLostFoundItemVo {
@ApiModelProperty("演出ID")
private String performanceId;
@ApiModelProperty("发布人uid")
private String publisherUid;
@ApiModelProperty("创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime;
......
......@@ -48,6 +48,9 @@ public class SweetLostFoundItem implements Serializable, Cloneable {
@ApiModelProperty("演出ID")
private String performanceId;
@ApiModelProperty("发布人uid")
private String publisherUid;
@ApiModelProperty("创建时间")
private Date createTime;
......
......@@ -33,6 +33,7 @@ CREATE TABLE IF NOT EXISTS `sweet_lost_found_item`
`pickup_date` varchar(20) NOT NULL DEFAULT '' COMMENT '捡拾日期',
`item_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '物品类型:1-证件卡类 2-3C数码类 3-服饰类 4-其他',
`performance_id` varchar(64) NOT NULL DEFAULT '' COMMENT '演出ID',
`publisher_uid` varchar(64) NOT NULL DEFAULT '' COMMENT '发布人uid',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`is_deleted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否删除:0-未删除 1-已删除',
......
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