You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
791 B
38 lines
791 B
package com.mh.user.entity; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
import lombok.Data; |
|
|
|
import javax.validation.constraints.NotBlank; |
|
import java.io.Serializable; |
|
import java.util.Date; |
|
|
|
/** |
|
* @author LJF |
|
* @version 1.0 |
|
* @project CHWS |
|
* @description 知识库管理 |
|
* @date 2024-06-26 14:18:28 |
|
*/ |
|
@Data |
|
public class KnowledgeDataEntity implements Serializable { |
|
|
|
private Long id; |
|
|
|
@NotBlank(message = "标题不能为空") |
|
private String title; |
|
|
|
@NotBlank(message = "摘要不能为空") |
|
private String description; |
|
|
|
@NotBlank(message = "内容不能为空") |
|
private String content; |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
private Date createTime; |
|
|
|
private Integer status; |
|
|
|
private String remark; |
|
|
|
}
|
|
|