(e *subscribe.Apply)
| 78 | } |
| 79 | |
| 80 | func FromApplyEntity(e *subscribe.Apply) *Apply { |
| 81 | return &Apply{ |
| 82 | Id: e.Uuid, |
| 83 | Service: e.Service, |
| 84 | Team: e.Team, |
| 85 | Application: e.Application, |
| 86 | ApplyTeam: e.ApplyTeam, |
| 87 | Applier: e.Applier, |
| 88 | ApplyAt: e.ApplyAt, |
| 89 | Approver: e.Approver, |
| 90 | ApproveAt: e.ApproveAt, |
| 91 | Status: e.Status, |
| 92 | Opinion: e.Opinion, |
| 93 | Reason: e.Reason, |
| 94 | } |
| 95 | } |