/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.community.car.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 车辆信息实体类
 *
 * @author BladeX
 * @since 2020-10-18
 */
@Data
@TableName("yc_car")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Car对象", description = "车辆信息")
public class Car extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 车牌号
	*/
		@ApiModelProperty(value = "车牌号")
		private String number;
	/**
	* 车辆类型
	*/
		@ApiModelProperty(value = "车辆类型")
		private Integer type;
	/**
	* 车辆性质(货运、客运、营运、非运营,出租)
	*/
		@ApiModelProperty(value = "车辆性质(货运、客运、营运、非运营,出租)")
		private Integer properties;
	/**
	* 车辆型号
	*/
		@ApiModelProperty(value = "车辆型号")
		private String model;
	/**
	* 燃油类别
	*/
		@ApiModelProperty(value = "燃油类别")
		private String fuelCategory;
	/**
	 * 车主id:若为社区租户则为住户id，若为园区租户则为员工id
	 */
	@ApiModelProperty(value = "车主id:若为社区租户则为住户id，若为园区租户则为员工id")
	private Long personId;
	/**
	* 车主姓名
	*/
		@ApiModelProperty(value = "车主姓名")
		private String personName;
	/**
	* 车主电话
	*/
		@ApiModelProperty(value = "车主电话")
		private String personPhone;


	/**
	* 社区
	*/
		@ApiModelProperty(value = "社区")
		private Long agencyId;
	/**
	* 小区
	*/
		@ApiModelProperty(value = "小区")
		private Long residentialId;
	/**
	* 企业
	*/
		@ApiModelProperty(value = "企业")
		private Long enterpriseId;
	/**
	 * 车身颜色
	 */
		@ApiModelProperty(value = "车身颜色")
		private  String color;
	/**
	 * 车辆照片
	 */
		@ApiModelProperty(value = "车辆照片")
		private  String carImg;
	/**
	 * 路径
	 */
		@ApiModelProperty(value = "路径")
		private  String orgPosition;

	/**
	 * 租户id
	 */
	@ApiModelProperty(value = "租户id")
	private  String tenantId;

	/**
	 * 所属停车场id
	 */
	@ApiModelProperty(value = "所属停车场id")
	private  Long parkingLotId;

	/**
	 * 行驶证图片
	 */
	@ApiModelProperty(value = "行驶证正面图片")
	private  String vehicleDrivingLicense1;

	/**
	 * 行驶证图片
	 */
	@ApiModelProperty(value = "行驶证背面图片")
	private  String vehicleDrivingLicense2;

	/**
	 * 审核状态：-1 审核不通过  0-待审核 1-审核通过
	 */
	@ApiModelProperty(value = "审核状态：-1 审核不通过  0-待审核 1-审核通过")
	private  Integer auditStatus;


	/**
	 * 审核意见
	 */
	@ApiModelProperty(value = "审核意见")
	private  String auditOpinion;

	@ApiModelProperty(value = "集约平台id")
	private  String inhabitantId;

}
