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