...
This commit is contained in:
15
specs/models_old/library/markdown.v
Normal file
15
specs/models_old/library/markdown.v
Normal file
@@ -0,0 +1,15 @@
|
||||
module library
|
||||
|
||||
import freeflowuniverse.herolib.hero.models.core
|
||||
|
||||
// Markdown represents a Markdown document library item
|
||||
pub struct Markdown {
|
||||
core.Base // Title of the document
|
||||
title string @[index]
|
||||
|
||||
// Optional description of the document
|
||||
description ?string
|
||||
|
||||
// The markdown content
|
||||
content string
|
||||
}
|
Reference in New Issue
Block a user