35 lines
1004 B
Go
35 lines
1004 B
Go
//
|
|
// Code generated by go-jet DO NOT EDIT.
|
|
//
|
|
// WARNING: Changes to this file may cause incorrect behavior
|
|
// and will be lost if the code is regenerated
|
|
//
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Posts struct {
|
|
ID int64 `sql:"primary_key" json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt *time.Time `json:"deleted_at"`
|
|
Type int16 `json:"type"`
|
|
Stage int16 `json:"stage"`
|
|
Status int16 `json:"status"`
|
|
TenantID int64 `json:"tenant_id"`
|
|
UserID int64 `json:"user_id"`
|
|
Title string `json:"title"`
|
|
Description string `json:"description"`
|
|
Content string `json:"content"`
|
|
Price int64 `json:"price"`
|
|
Discount int16 `json:"discount"`
|
|
Views int64 `json:"views"`
|
|
Likes int64 `json:"likes"`
|
|
Meta *string `json:"meta"`
|
|
Tags *string `json:"tags"`
|
|
Assets *string `json:"assets"`
|
|
}
|