美文网首页Kotlin 开发者社区我爱编程禅与计算机程序设计艺术
【 Spring Boot 开发实战】10 分钟快速构建一个自己

【 Spring Boot 开发实战】10 分钟快速构建一个自己

作者: 光剑书架上的书 | 来源:发表于2018-05-22 14:34 被阅读763次

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

    1.图形界面效果

    image.png image.png image.png

    2.工程源代码

    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.haomeiwen.com/subject/udbhjftx.html