// Package model -----------------------------
// @file      : temp_artwork_ext_data.go
// @author    : JJXu
// @contact   : wavingbear@163.com
// @time      : 2023/2/28 11:51
// -------------------------------------------
package model

import (
	"gorm.io/plugin/soft_delete"
	"time"
)

type ArtworkExtData struct {
	Id                  int32                 `gorm:"column:id;primaryKey;autoIncrement:true" json:"Id"`        //type:int32     comment:
	ArtworkId           int32                 `gorm:"column:artwork_id" json:"ArtworkId"`                       //type:int32
	ArtworkUuid         string                `gorm:"column:artwork_uuid" json:"ArtworkUuid"`                   //type:string   comment:画作的uuid
	ArtType             int32                 `gorm:"column:art_type" json:"ArtType"`                           //type:string   comment:艺术类别
	ArtTitle            int32                 `gorm:"column:art_title" json:"ArtTitle"`                         //type:string   comment:艺术主题
	ArtStyle            int32                 `gorm:"column:art_style" json:"ArtStyle"`                         //type:string   comment:风格
	Color               int32                 `gorm:"column:color" json:"Color"`                                //type:string   comment:颜色
	PenTechniques       string                `gorm:"column:pen_techniques" json:"PenTechniques"`               //type:string   comment:笔墨技法
	ArtIdea             string                `gorm:"column:art_idea" json:"ArtIdea"`                           //type:string   comment:绘画思想
	ExpressIdea         string                `gorm:"column:express_idea" json:"ExpressIdea"`                   //type:string   comment:表达思想
	ArtStory            string                `gorm:"column:art_story" json:"ArtStory"`                         //type:string   comment:创作背景故事
	FirstPublish        string                `gorm:"column:first_publish" json:"FirstPublish"`                 //type:string   comment:首次发表
	FirstPublishImg     string                `gorm:"column:first_publish_img" json:"FirstPublishImg"`          //type:string   comment:首次发表截图
	FirstName           string                `gorm:"column:first_name" json:"FirstName"`                       //type:string   comment:首次命名
	FirstNameImg        string                `gorm:"column:first_name_img" json:"FirstNameImg"`                //type:string   comment:首次命名截图
	CopyrightHash       string                `gorm:"column:copyright_hash" json:"CopyrightHash"`               //type:string   comment:版权哈希
	RealrightHash       string                `gorm:"column:realright_hash" json:"RealrightHash"`               //type:string   comment:物权哈希
	SprayPosition       string                `gorm:"column:spray_position" json:"SprayPosition"`               //type:string   comment:喷涂位置
	SprayRemark         string                `gorm:"column:spray_remark" json:"SprayRemark"`                   //type:string   comment:喷涂备注
	AuthDataHash        string                `gorm:"column:auth_data_hash" json:"AuthData"`                    //type:string   comment:鉴证数据
	DigiShootDate       string                `gorm:"column:digi_shoot_date" json:"DigiShootDate"`              //type:string   comment:数字化拍摄时间
	DigiMakeDate        string                `gorm:"column:digi_make_date" json:"DigiMakeDate"`                //type:string   comment:数字化后期制作时间
	DigiArtImg          string                `gorm:"column:digi_art_img" json:"DigiArtImg"`                    //type:string   comment:数字化画作图
	DigiArtCopyrightImg string                `gorm:"column:digi_art_copyright_img" json:"DigiArtCopyrightImg"` //type:string   comment:数字化画作版权图
	DigiCopyrightInfo   string                `gorm:"column:digi_copyright_info" json:"DigiCopyrightInfo"`      //type:string   comment:数字化画作版权信息
	DigiCopyrightFile   string                `gorm:"column:digi_copyright_file" json:"DigiCopyrightFile"`      //type:string   comment:数字化画作版权文件
	Tags                string                `gorm:"column:tags" json:"Tags"`                                  //type:string   comment:选择标签
	ThirdComment        string                `gorm:"column:third_comment" json:"ThirdComment"`                 //type:string   comment:第三方评价
	AuthTime            string                `gorm:"column:auth_time;comment:鉴证时间" json:"auth_time"`
	AuthImg             string                `gorm:"column:auth_img" json:"AuthImg"` //type:string   comment:鉴证图
	Status              int32                 `gorm:"column:status;type:tinyint(4);default:1;comment:状态  正常 2 删除;NOT NULL" json:"status"`
	CreatedAt           time.Time             `gorm:"column:created_at" json:"CreatedAt"` //type:int32     comment:
	UpdatedAt           time.Time             `gorm:"column:updated_at" json:"UpdatedAt"` //type:int32     comment:
	DeletedAt           soft_delete.DeletedAt //type:int32     comment:
}

// TableName 表名:artwork_ext_data,画作补充数据。
// 说明:
func (ArtworkExtData) TableName() string {
	return "artwork_ext_data"
}