2023-01-18 09:03:15 +00:00
|
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
// Contract 用户模型
|
|
|
|
|
type Contract struct {
|
2023-02-15 01:10:11 +00:00
|
|
|
|
Model
|
2023-01-18 09:03:15 +00:00
|
|
|
|
ID int32 `gorm:"not null"`
|
|
|
|
|
UserId int32 `gorm:"not null"`
|
|
|
|
|
CardId string `gorm:"type:varchar(256) default ''"`
|
|
|
|
|
MgmtUserId string `gorm:"not null"`
|
|
|
|
|
ArtworkId string `gorm:"type:varchar(256) default ''"`
|
|
|
|
|
ContractId string `gorm:"type:varchar(256) default ''"`
|
|
|
|
|
TransactionId string `gorm:"type:varchar(256) default '' "`
|
|
|
|
|
Type int32 `gorm:"not null"`
|
|
|
|
|
BatchId int32 `gorm:"not null"`
|
|
|
|
|
BatchName string `gorm:"type:varchar(256) default '' "`
|
|
|
|
|
ViewUrl string `gorm:"type:varchar(256) default ''"`
|
|
|
|
|
DownloadUrl string `gorm:"type:varchar(256) default ''"`
|
|
|
|
|
State int32 `gorm:"not null"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Reply struct {
|
|
|
|
|
Code int `json:"state"`
|
|
|
|
|
Message string `json:"message"`
|
|
|
|
|
Data interface{} `json:"data"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArtistInfoRes struct {
|
|
|
|
|
Uid string `json:"uid"`
|
|
|
|
|
Seqnum int64 `json:"seqnum"` // 序列号
|
|
|
|
|
Tnum string `json:"tnum"` //ex.T240
|
|
|
|
|
Num int `json:"num"` // 编号
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
CardId string `json:"cardId"`
|
|
|
|
|
PhoneNum string `json:"phone"`
|
|
|
|
|
Gender string `json:"gender"` // 性别
|
|
|
|
|
Belong int `json:"belong"` // 画家归属,1-泰丰,2-丰链
|
|
|
|
|
RecentPhoto string `json:"recentPhoto"` // 画家近照url
|
|
|
|
|
AccountBank string `json:"bank"` // 开户银行
|
|
|
|
|
Account string `json:"account"` // 开户账号
|
|
|
|
|
Video []string `json:"artistVideo"` // 视频资料
|
|
|
|
|
ArtshowTimes int64 `json:"artshowTimes"` // 参加画展次数
|
|
|
|
|
Age int64 `json:"age"`
|
|
|
|
|
Address string `json:"address"`
|
|
|
|
|
Resume string `json:"resume"`
|
|
|
|
|
CardPicFace string `json:"cardPicFace"`
|
|
|
|
|
CardPicBack string `json:"cardPicBack"`
|
|
|
|
|
CertificatePic string `json:"certificatePic"`
|
|
|
|
|
CertificateNum string `json:"certificateNum"`
|
|
|
|
|
// Priority int64 `json:"priority"`
|
|
|
|
|
Agent string `json:"agent"`
|
|
|
|
|
PenName string `json:"penName"` // 笔名
|
|
|
|
|
Comment string `json:"comment"`
|
|
|
|
|
WtchainHash string `json:"wtchainHash"`
|
|
|
|
|
BaiduchainHash string `json:"baiduchanHash"`
|
|
|
|
|
ChengchainHash string `json:"chengchainHash"`
|
|
|
|
|
ChengChainCertUrl string `json:"chengChainCertUrl"`
|
|
|
|
|
BaiduChainCertUrl string `json:"baiduChainCertUrl"`
|
|
|
|
|
ChengChainCertOssUrl string `json:"chengChainCertOssUrl"`
|
|
|
|
|
Baiduchaincertossurl string `json:"baiduchaincertossurl"`
|
|
|
|
|
IsArtshow bool `json:"isArtshow"` // 是否参加过画展,1参加过,2未参加过
|
|
|
|
|
CurrentPosition string `json:"currentPosition"` //现任职务
|
|
|
|
|
Email string `json:"email"`
|
|
|
|
|
TeaRela string `json:"teaRela"` //师
|
|
|
|
|
StuRela string `json:"stuRela"` //徒
|
|
|
|
|
GradSchoolStudyTour string `json:"gradSchoolStudyTour"` //毕业院校及游学经历
|
|
|
|
|
NaTittle string `json:"naTittle"` //国家级头衔
|
|
|
|
|
ProTittle string `json:"proTittle"` //省级头衔
|
|
|
|
|
MunTittle string `json:"munTittle"` //市级头衔
|
|
|
|
|
CouTittle string `json:"couTittle"` //区县级头衔
|
|
|
|
|
OtherTittle string `json:"otherTittle"` //其他头衔
|
|
|
|
|
PastCooForms string `json:"pastCooForms"` //过往合作平台
|
|
|
|
|
ExhibiInfo string `json:"exhibiInfo"` //参展信息
|
|
|
|
|
KeyAchi string `json:"keyAchi"` //主要成就
|
|
|
|
|
Works string `json:"works"` //作品集
|
|
|
|
|
PicAlbum string `json:"picAlbum"` //画册
|
|
|
|
|
|
|
|
|
|
// AwardInfo []AwardInfo `json:"awardInfo"` //获奖信息
|
|
|
|
|
// Publish []Publish `json:"publish"` //出版
|
|
|
|
|
// AcadePub []AcadePub `json:"acadePub"` //学术发表
|
|
|
|
|
// ThirdComment []ThirdComment `json:"thirdComment"` //第三方或策展人评论
|
|
|
|
|
CreaDirect string `json:"creaDirect"` //创作方向(科目)
|
|
|
|
|
ArtStyle string `json:"artStyle"` //艺术风格
|
|
|
|
|
PenInkSkill string `json:"penInkSkill"` //笔墨技法
|
|
|
|
|
DrawThink string `json:"drawThink"` //绘画思想
|
|
|
|
|
AcadeValue string `json:"acadeValue"` //学术价值
|
|
|
|
|
|
|
|
|
|
ArtName string `json:"artName"` // 艺名
|
|
|
|
|
JoinClubTime string `json:"joinClubTime"` // 入会时间
|
|
|
|
|
ArtistStamp string `json:"artistStamp"` // 画家印章
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CreateContractRes struct {
|
|
|
|
|
Code string `json:"code"`
|
|
|
|
|
Download_url string `json:"download_url"`
|
|
|
|
|
Msg string `json:"msg"`
|
|
|
|
|
Result string `json:"result"`
|
|
|
|
|
Viewpdf_url string `json:"viewpdf_url"`
|
|
|
|
|
}
|