<commit_before>package common

import "github.com/jinzhu/gorm"

type BaseMsg struct {
	Code int `json:"code"`
	Data interface{}
}

type SuccMsg struct {
	BaseMsg
	Msg string `json:"msg"`
}

type LoginReq struct {
	DK string
	UN string
	PW string
}

type TweList struct {
	BaseMsg
	CurPage   uint
	TotlePage uint
	TweNum    uint
	List      []TweetDB
}
type TweetDB struct {
	gorm.Model
	Context string
}

type ArcDB struct {
	gorm.Model
	Catid   uint
	Title   string
	Context string
}

type CatDBDel struct {
	CatDB
	MvID uint
}
type CatDB struct {
	gorm.Model
	Cname string
	Name  string
}

type PageDB struct {
	gorm.Model
	Title   string
	Context string
}<commit_msg>change common model<commit_after>package common

import "github.com/jinzhu/gorm"

type ArticleModel struct {
	gorm.Model
	Catid   uint
	Title   string
	Content string
}

type PageModel struct {
	gorm.Model
	Title   string
	Content string
}

type TweetModel struct {
	gorm.Model
	Content string
}

type CatModel struct {
	gorm.Model
	Name  string
	Alias string
}
{'fraction_non_alphanumeric': 0.062135922330097085, 'fraction_numerical': 0.0, 'mean_word_length': 3.482608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3047078', 'n_tokens_mistral': 379, 'n_tokens_neox': 375, 'n_words': 116}