14 lines
155 B
Go
14 lines
155 B
Go
|
package domain
|
||
|
|
||
|
type AdType int32
|
||
|
|
||
|
func (a AdType) ToInt32() int32 {
|
||
|
return int32(a)
|
||
|
}
|
||
|
|
||
|
const (
|
||
|
AdTypeAll AdType = iota
|
||
|
AdTypeOnlyAd
|
||
|
AdTypeOnlyNotAd
|
||
|
)
|