Another article published by api

发布时间 2023-09-15 03:00:41作者: 真理君的宿敌

article title

ref

  1. Bold content
  2. code
  3. code bolck
class PostStruct extends StructBase
{

    protected static $config = [
        'dateCreated' => DateAttr::class,
        'description' => StringAttr::class,
        'title' => StringAttr::class,
        'categories' => [ArrayAttr::class, 'string'],
//        'enclosure' => EnclosureStruct::class,
        'link' => StringAttr::class,
        'permalink' => StringAttr::class,
        'postid' => Int32Attr::class,
//        'source' => SourceStruct::class,
        'userid' => StringAttr::class,
        'mt_allow_comments' => StringAttr::class,
        'mt_allow_pings' => StringAttr::class,
        'mt_convert_breaks' => StringAttr::class,
        'mt_text_more' => StringAttr::class,
        'mt_excerpt' => StringAttr::class,
        'mt_keywords' => StringAttr::class,
        'wp_slug' => StringAttr::class,
    ];

}