//
//  AV_BirtherDayTaskCell.swift
//  anniversary_Project
//
//  Created by 忆海16 on 2024/7/8.
//

import UIKit

class AV_BirtherDayTaskCell: UITableViewCell {
    @IBOutlet weak var bgView: UIView!
    
    @IBOutlet weak var headImageV: UIImageView!
    
    @IBOutlet weak var titleLabel: UILabel!
    
    @IBOutlet weak var timeLabel: UILabel!
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        headImageV.layer.cornerRadius = 30
        bgView.layer.cornerRadius = 28
    }
    var model:UserModel?{
        didSet{
            let image = model?.getImage()
            self.headImageV.image = image
            self.timeLabel.text = model?.date
            self.titleLabel.text = model?.name

        }
    }
}
