add planet
This commit is contained in:
@@ -201,6 +201,14 @@ func NewCardOwnerRead(e *ent.User) *CardOwnerRead {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -391,6 +399,14 @@ func NewGroupUsersList(e *ent.User) *GroupUsersList {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -661,6 +677,14 @@ func NewMaOwnerRead(e *ent.User) *MaOwnerRead {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -887,6 +911,14 @@ func NewSevOwnerRead(e *ent.User) *SevOwnerRead {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -1161,6 +1193,14 @@ func NewUeOwnerRead(e *ent.User) *UeOwnerRead {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -1239,6 +1279,14 @@ func NewUserCreate(e *ent.User) *UserCreate {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -1317,6 +1365,14 @@ func NewUserList(e *ent.User) *UserList {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -1395,6 +1451,14 @@ func NewUserRead(e *ent.User) *UserRead {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
@@ -1473,6 +1537,14 @@ func NewUserUpdate(e *ent.User) *UserUpdate {
|
||||
ret.Coin = NewOptInt(e.Coin)
|
||||
ret.CoinOpen = NewOptBool(e.CoinOpen)
|
||||
ret.CoinAt = NewOptDateTime(e.CoinAt)
|
||||
ret.Planet = NewOptInt(e.Planet)
|
||||
ret.PlanetAt = NewOptDateTime(e.PlanetAt)
|
||||
ret.Login = NewOptBool(e.Login)
|
||||
ret.LoginAt = NewOptDateTime(e.LoginAt)
|
||||
ret.LocationX = NewOptInt(e.LocationX)
|
||||
ret.LocationY = NewOptInt(e.LocationY)
|
||||
ret.LocationZ = NewOptInt(e.LocationZ)
|
||||
ret.LocationN = NewOptInt(e.LocationN)
|
||||
return &ret
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user