【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客

【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客

1.图形界面效果

《【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客》 image.png
《【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客》 image.png
《【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客》 image.png

2.工程源代码

《【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客》 image.png

https://github.com/KotlinSpringBoot/saber

3.数据库结构

package com.light.saber.model

import com.fasterxml.jackson.annotation.JsonFormat
import java.util.*
import javax.persistence.*

@Entity
class Knowledge {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long = 0

    @Column(length = 100, unique = true)
    var title = ""
    @Lob
    var answer = ""

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "GMT+8")
    var gmtCreate = Date()
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "GMT+8")
    var gmtModified = Date()
}

新书上架:《Spring Boot 开发实战》

— 基于 Kotlin + Gradle + Spring Boot 2.0 的企业级服务端开发实战

京东下单链接

https://item.jd.com/31178320122.html

天猫下单链接

https://detail.tmall.com/item.htm?id=574928877711

《【 Spring Boot 开发实战】10 分钟快速构建一个自己的技术文章博客》

    原文作者:一个会写诗的程序员
    原文地址: https://www.jianshu.com/p/72eb9f2a3b99
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞