mail.go 442 B

123456789101112131415161718192021222324252627
  1. package model
  2. // Mail def.
  3. type Mail struct {
  4. ToAddress []*MailAddress
  5. Subject string
  6. Body string
  7. }
  8. // MailAddress def.
  9. type MailAddress struct {
  10. Address string
  11. Name string
  12. }
  13. // MailData def.
  14. type MailData struct {
  15. UserName string
  16. SourceBranch string
  17. TargetBranch string
  18. Title string
  19. Description string
  20. URL string
  21. Info string
  22. PipelineStatus string
  23. PipeStatus string
  24. }