// 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 TableNameNotifyURL = "notify_url" // NotifyURL mapped from table type NotifyURL struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" 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 int64 `gorm:"column:is_del;type:bigint;not null" json:"is_del"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_Id,priority:1;comment:项目id(project表)" json:"project_id"` Title string `gorm:"column:title;type:varchar(64);not null;comment:地址名称" json:"title"` URL string `gorm:"column:url;type:varchar(255);not null;comment:回调地址" json:"url"` OldData int8 `gorm:"column:old_data;type:tinyint;not null;comment:是否旧数据(0-否,1-是)" json:"old_data"` Source int8 `gorm:"column:source;type:tinyint;not null;comment:数据来源(0-后台创建,1-奖品数据迁移,2-api创建)" json:"source"` Headers string `gorm:"column:headers;type:json;not null;comment:请求头数据" json:"headers"` } // TableName NotifyURL's table name func (*NotifyURL) TableName() string { return TableNameNotifyURL }