// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model const TableNameProject = "project" // Project mapped from table type Project struct { ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null;comment:是否已删除(1-是,0-否)" json:"is_del"` CompanyID int64 `gorm:"column:company_id;type:bigint;not null;index:idx_company_id,priority:1;comment:企业id表" json:"company_id"` HashID string `gorm:"column:hash_id;type:varchar(22);not null;uniqueIndex:uniq_hash_id,priority:1;comment:访问key,用于对接" json:"hash_id"` Title string `gorm:"column:title;type:varchar(128);not null;comment:项目名称" json:"title"` Domain string `gorm:"column:domain;type:varchar(32);not null;index:idx_domain,priority:1;comment:一级域名" json:"domain"` IsAll int8 `gorm:"column:is_all;type:tinyint;not null;comment:是否所有员工可看(0-否,1-是)" json:"is_all"` NotifyToken string `gorm:"column:notify_token;type:varchar(40);not null;comment:项目回调token" json:"notify_token"` EncryptStr string `gorm:"column:encrypt_str;type:varchar(40);not null;comment:数据加密字符串" json:"encrypt_str"` Scene int8 `gorm:"column:scene;type:tinyint;not null;comment:项目应用场景(1-app,2-web)" json:"scene"` ThirdSecret string `gorm:"column:third_secret;type:varchar(40);not null;comment:第三方开放平台密钥" json:"third_secret"` ThirdURL string `gorm:"column:third_url;type:varchar(300);not null;comment:开放平台回调地址" json:"third_url"` ThirdReboostURL string `gorm:"column:third_reboost_url;type:varchar(300);not null;comment:开放平台reboot回调地址" json:"third_reboost_url"` PushLadder int8 `gorm:"column:push_ladder;type:tinyint;not null;comment:是否开启转发推送" json:"push_ladder"` FissionCertType int8 `gorm:"column:fission_cert_type;type:tinyint;not null;comment:活动用户认证方式(0-不认证,1-加密认证)" json:"fission_cert_type"` OpendAd int8 `gorm:"column:opend_ad;type:tinyint;not null;comment:开启广告(0-不开启,1-开启)" json:"opend_ad"` CloseCopyShare int8 `gorm:"column:close_copy_share;type:tinyint;not null;comment:关闭复制分享文案(0-否,1-是)" json:"close_copy_share"` LogoURL string `gorm:"column:logo_url;type:varchar(128);not null;comment:项目logo地址" json:"logo_url"` IsTest int8 `gorm:"column:is_test;type:tinyint;not null;comment:是否测试项目(0-否,1-是)" json:"is_test"` } // TableName Project's table name func (*Project) TableName() string { return TableNameProject }