package com.dahe.gldriver.bean

/**
 * @ClassName UpDriverInfoBean
 * @Author john
 * @Date 2024/2/27 11:09
 * @Description TODO
 */
data class UpPersonInfoBean(
    var idcardNo: String = "",
    var idcardName: String = "",
    var idcardSex: String = "",
    var idcardEthnicity: String = "",
    var idcardEffectiveStart: String = "",
    var idcardEffectiveEnd: String = "",
    var idcardIsEndless: String = "",
    var idcardFrontUrl: String = "",
    var idcardBackUrl: String = "",
    var idcardAddress: String = ""
)

/**
* 上传驾驶证
* */
data class UpDriverInfoBean(
    var licenseNo: String = "",
    var licenseType: String = "",
    var licenseName: String = "",
    var licenseRecordNumber: String = "",
    var licenseEffectiveStart: String = "",
    var licenseEffectiveEnd: String = "",
    var licensePhotoFaceUrl: String = "",
    var licensePhotoBackUrl: String = "",
    var licenseFirstGetDate: String = "",
    var licenseApproveOrganization: String = ""
)


/**
 * 上传行驶证
 * */
data class UpDrivingInfoBean(
    var address: String = "",
    var approvedLoad: String = "",
    var barcodeNumber: String = "",
    var carHeight: String = "",
    var carLong: String = "",
    var carUrl: String = "",
    var carId: String = "",
    var carWidth: String = "",
    var curbWeight: String = "",
    var energySign: String = "",
    var energySignCode: String = "",
    var engineNo: String = "",
    var inspectionRecord: String = "",
    var isTrailer: String = "",
    var issuingAuthority: String = "",
    var licenseBackUrl: String = "",
    var licenseFaceUrl: String = "",
    var licenseIssueDate: String = "",
    var licenseRegisterDate: String = "",
    var licenseRemarks: String = "",
    var licensevaridity: String = "",
    var model: String = "",
    var overallDimension: String = "",
    var owner: String = "",
    var passengerCapacity: String = "",
    var plateColor: String = "",
    var plateColorCode: String = "",
    var trailerPlateColor: String = "",
    var trailerPlateColorCode: String = "",
    var recordNumber: String = "",
    var registerImageUrl: String = "",
    var roadLicense: String = "",
    var roadLicensePhotoUrl: String = "",
    var roadLicenseSend: String = "",
    var roadLicensevaridity: String = "",
    var totalWeight: String = "",
    var tractionWeight: String = "",
    var useNature: String = "",
    var vehicleNum: String = "",
    var vehicleType: String = "",
    var vehicleTypeCode: String = "",
    var roadLicenseValidity: String = "",
    var licenseValidity: String = "",//到期时间
    var vinCode: String = ""
)


/**
* 上传从业资格
* */
data class UpQualiInfoBean(
    var qualificationCertificateNo: String = "",
    var qualificationCertificateEffectiveEnd: String = "",
    var qualificationCertificatePhotoUrl: String = "",
    var qualificationCertificateExamineDate: String = ""
)


/**
 * 上传车辆的道路运输证
 * */
data class UpRoadInfoBean(
    var carId: String = "",
    var roadLicensePhotoUrl: String = "",
    var roadLicense: String = "",
    var roadLicensevaridity: String = "",
    var roadLicenseSend: String = ""
)

/**
* 上传银行卡
* */
data class UpBankInfoBean(
    var driverBankcardNumber: String = "",
    var driverBankcardPhotoUrl: String = "",
    var driverBankcardAddress: String = ""
)



/**
* 认证车队长bean
* */
data class AuthTeamBean(
    var captainBankcardAddress: String="",
    var captainBankcardNumber: String="",
    var captainBankcardPhotoUrl: String="",
    var captainType: String="",//类型(0=个人，1=企业)
    var idcardAddress: String="",
    var idcardBackUrl: String="",
    var idcardEffectiveEnd: String="",
    var idcardEffectiveStart: String="",
    var idcardEthnicity: String="",
    var idcardFrontUrl: String="",
    var idcardIsEndless: String="",
    var idcardName: String="",
    var idcardNo: String="",
    var roadLicensePhotoUrl: String="",
    var roadLicense: String="",
    var roadLicensevaridity: String="",
    var businessLicensePhoneUrl: String="",
    var businessLicenseCreditCode: String="",
    var businessLicenseEffectiveStart: String="",
    var businessLicenseEffectiveEnd: String="",
    var idcardSex: String=""
){
    constructor(captainType: String) : this(){
        this.captainType = captainType
    }
}

/**
 * 司机同意/拒绝加入车队
 * @property joinStatus String  0=待同意,1=已同意,2=已拒绝
 * @property linkId Int
 * @property reason String
 * @constructor
 */
data class UpCaptain(
    var joinStatus: String="",
    var linkId: String="",
    var captainId: String="",
    var driverId: String="",
    var reason: String=""
)

/**
 * 提交党员认证资料
 * @property address String
 * @property area String
 * @property areaCode String
 * @property city String
 * @property cityCode String
 * @property materialList List<Material>
 * @property partyMembershipTime String
 * @property province String
 * @property provinceCityArea String
 * @property provinceCode String
 * @constructor
 */
data class UpPart(
    var address: String = "",
    var area: String = "",
    var areaCode: String = "",
    var city: String = "",
    var cityCode: String = "",
    var materialList: MutableList<Material> = mutableListOf(),
    var partyMembershipTime: String = "",
    var province: String = "",
    var provinceCityArea: String = "",
    var provinceCode: String = ""
)

data class Material(
    var isDel: String="",
    var materialId: String="",
    var materialUrl: String="",
    var sortValue: String=""
)


/**
 * 评价运单
 * @property opinionsContent String
 * @property opinionsStarRating Int
 * @property orderId Int
 * @property resourcesList List<Resources>
 * @constructor
 */
data class UpRate(
    var opinionsContent: String = "",
    var opinionsStarRating: String= "",
    var orderId: String= "",
    var resourcesList: MutableList<Resources> = mutableListOf()
)

data class Resources(
    var resourcesSort: String= "",
    var resourcesType: String= "",
    var resourcesUrl: String= ""
)





