com.sharing.entities.Car.java Source code

Java tutorial

Introduction

Here is the source code for com.sharing.entities.Car.java

Source

package com.sharing.entities;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

@Repository
public class Car implements Serializable {

    private static final long serialVersionUID = -7469392181863831431L;
    /**
     * ?  1? 2.? 3.? 4. 5.?? 6.?? 7.
     */
    private Integer id;
    private Integer userId;//
    private String brand;// ?
    private String model;// ?
    private String licenseNum;// ??
    private String motorcycleType;// 
    private String drivingLicenseNum;// ??
    private String registrationNum;// ??
    private Integer expectPeopleNum;// 

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLicenseNum() {
        return licenseNum;
    }

    public void setLicenseNum(String licenseNum) {
        this.licenseNum = licenseNum;
    }

    public String getMotorcycleType() {
        return motorcycleType;
    }

    public void setMotorcycleType(String motorcycleType) {
        this.motorcycleType = motorcycleType;
    }

    public String getDrivingLicenseNum() {
        return drivingLicenseNum;
    }

    public void setDrivingLicenseNum(String drivingLicenseNum) {
        this.drivingLicenseNum = drivingLicenseNum;
    }

    public String getRegistrationNum() {
        return registrationNum;
    }

    public void setRegistrationNum(String registrationNum) {
        this.registrationNum = registrationNum;
    }

    public Integer getExpectPeopleNum() {
        return expectPeopleNum;
    }

    public void setExpectPeopleNum(Integer expectPeopleNum) {
        this.expectPeopleNum = expectPeopleNum;
    }

}