2024-08-29 09:33:57 +00:00
|
|
|
package domain
|
|
|
|
|
|
|
|
type AdType int32
|
|
|
|
|
|
|
|
func (a AdType) ToInt32() int32 {
|
|
|
|
return int32(a)
|
|
|
|
}
|
|
|
|
|
|
|
|
const (
|
|
|
|
AdTypeAll AdType = iota
|
|
|
|
AdTypeOnlyAd
|
|
|
|
AdTypeOnlyNotAd
|
|
|
|
)
|
2024-08-29 13:26:01 +00:00
|
|
|
|
|
|
|
type LikeType int8
|
|
|
|
|
|
|
|
func (l LikeType) ToInt32() int8 {
|
|
|
|
return int8(l)
|
|
|
|
}
|
|
|
|
|
|
|
|
const (
|
|
|
|
LikeTypeLike LikeType = iota + 1 // 按揍
|
|
|
|
LikeTypeDisLike
|
|
|
|
)
|