//
// 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 (
	"quyun/database/fields"
	"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"`
	Status      fields.PostStatus                `json:"status"`
	Title       string                           `json:"title"`
	HeadImages  fields.Json[[]int64]             `json:"head_images"`
	Description string                           `json:"description"`
	Content     string                           `json:"content"`
	Price       int64                            `json:"price"`
	Discount    int16                            `json:"discount"`
	Views       int64                            `json:"views"`
	Likes       int64                            `json:"likes"`
	Tags        fields.Json[[]string]            `json:"tags"`
	Assets      fields.Json[[]fields.MediaAsset] `json:"assets"`
}
