|
package activitymodel
|
|
|
|
//func (p *Activity) ToDomain() (do front.ActivityResponse) {
|
|
// do.Id = p.Id
|
|
// do.Name = p.Name
|
|
// do.Banner = p.Banner
|
|
// do.Description = p.Description
|
|
// do.CreateTime = p.CreateTime.Format("2006-01-02 15:04:05")
|
|
// return
|
|
//}
|