CheckAppealCell.swift 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // CheckAppealCell.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 2016/10/25.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import UIKit
  9. import BWSwipeRevealCell
  10. class CheckAppealCell: BWSwipeRevealCell {
  11. @IBOutlet weak var identityNameLabel: UILabel!
  12. @IBOutlet weak var appealTypeLabel: UILabel!
  13. @IBOutlet weak var appealDateLabel: UILabel!
  14. @IBOutlet weak var appealDescLabel: UILabel!
  15. var entry:AttendanceCheckEntry? {
  16. didSet {
  17. self.identityNameLabel.text = entry?.identityName
  18. self.appealDateLabel.text = entry?.appealDate
  19. self.appealTypeLabel.text = entry?.appealReson
  20. self.appealDescLabel.text = entry?.appealDesc
  21. }
  22. }
  23. override func awakeFromNib() {
  24. super.awakeFromNib()
  25. // Initialization code
  26. }
  27. override func setSelected(_ selected: Bool, animated: Bool) {
  28. super.setSelected(selected, animated: animated)
  29. // Configure the view for the selected state
  30. }
  31. }