package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.util.Date;

/**
 * 车辆与群组关联关系表
 *
 * @author 黄辉
 * @version 1.0
 * @date 2021-05-22 17:33:56
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "车辆与群组关联关系表", description = "车辆与群组关联关系表")
@TableName("pmg_bat_car_vehicle_group")
public class PmgBatCarVehicleGroup extends TenantEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "")
	private Long id;
	/**
	 * 车辆群组id
	 */
	@ApiModelProperty(name = "vehicleGroupId",value = "车辆群组id")
	private Long vehicleGroupId;
	/**
	 * 车id
	 */
	@ApiModelProperty(name = "carId",value = "车id")
	private Long carId;

	@ApiModelProperty(value = "有效开始时间")
	private Date validStartTime;

	@ApiModelProperty(value = "有效结束时间")
	private Date validEndTime;
}
