需求评论增加删除标识
This commit is contained in:
parent
40ccd4e356
commit
b5d084128c
|
@ -1,5 +1,6 @@
|
|||
package io.renren.modules.demandComment.dto;
|
||||
|
||||
import io.renren.common.dto.AuditingBaseDTO;
|
||||
import io.renren.modules.demanData.dto.TDemandDataDTO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
@ -16,7 +17,7 @@ import java.util.Date;
|
|||
*/
|
||||
@Data
|
||||
@ApiModel(value = "需求评论")
|
||||
public class TDemandCommentDTO implements Serializable {
|
||||
public class TDemandCommentDTO extends AuditingBaseDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
@ -42,6 +43,8 @@ public class TDemandCommentDTO implements Serializable {
|
|||
private String note4;
|
||||
@ApiModelProperty(value = "备用字段")
|
||||
private String note5;
|
||||
@ApiModelProperty(value = "删除标志:0:正常;1:已删除;2:待审核;3:审核中;9其他")
|
||||
private Integer delFlag;
|
||||
|
||||
@ApiModelProperty(value = "评论所属需求主题")
|
||||
private TDemandDataDTO demandDataDTO;
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
package io.renren.modules.demandComment.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.renren.common.entity.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import java.util.Date;
|
||||
import io.renren.common.entity.BaseEntity;
|
||||
|
||||
/**
|
||||
* 需求评论
|
||||
|
@ -54,4 +53,9 @@ public class TDemandCommentEntity extends BaseEntity {
|
|||
* 备用字段
|
||||
*/
|
||||
private String note5;
|
||||
|
||||
/**
|
||||
* 删除标志:0:正常;1:已删除;2:待审核;3:审核中;9其他
|
||||
*/
|
||||
private Integer delFlag;
|
||||
}
|
|
@ -51,7 +51,11 @@ spring:
|
|||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
|
||||
flyway:
|
||||
enabled: true
|
||||
validate-on-migrate: false
|
||||
#
|
||||
out-of-order: true
|
||||
#上传的静态资源配置
|
||||
resource:
|
||||
root_url: 15.2.21.238
|
||||
|
|
|
@ -61,6 +61,7 @@ spring:
|
|||
locations: filesystem:config/db
|
||||
baseline-on-migrate: true
|
||||
baseline-version: 0
|
||||
validate-on-migrate: true
|
||||
|
||||
|
||||
fdfs:
|
||||
|
|
Loading…
Reference in New Issue