//
//  PLJob.swift
//  IOS_study
//
//  Created by CC-star on 2025/6/28.
//

import Foundation

struct PLJob: Identifiable {//遵循莫个协议
   var id = UUID().uuidString
   var isActive = true
   var title = ""
   var business = "互联网"
   var tax = "详谈"
   var hourlyWage = 100//时给
   var wantNum = 3
   var contactType = "微信"
   var contact = ""
   
   //工作时间地点内容
   var startHour = 10
   var startMin = 0
   var endHour = 20
   var endMin = 0
   
   //点击状态
   var has2 = false
   //第二个时间
   var startHour2 = 10
   var startMin2 = 0
   var endHour2 = 20
   var endMin2 = 0
   
   var otherTime = ""
   
   var placeName = ""
   var province = "北京"
   var city = ""
   var workContent = ""
   
   //工作要求
   var needExp = "1-3年"
   var needEdu = "本科"
   var needLan = "Swift"
   var needFrame = "SwiftUI"
   var otherNeed = ""
   
   //福利
   var moveFee = true
   var noOverTime = true//不加班
   var otherBenefit = ""
   
   
   //其他
   var companyName = ""
   var usrID = ""
   //var creatTime = ""
   var updatedAt = Date()
   
   
   static let job = PLJob(title: "iOS程序员", tax: "报税", contact: "12345", has2: true, startHour2: 14, endHour2: 22, otherTime: "可以根据实际情况调整", placeName: "阿里巴巴西溪园区", province: "浙江", city: "杭州", workContent: "iOS开发啊啊iOS开发啊啊iOS开发啊啊iOS开发啊啊iOS开发啊啊iOS开发啊啊", otherNeed: "什么都不需要啊啊什么都不需要啊啊什么都不需要啊啊什么都不需要啊啊", otherBenefit: "什么都有啊啊什么都有啊啊什么都有啊啊什么都有啊啊什么都有啊啊",companyName:"阿里巴巴")
}
