package com.bs.cm.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 车辆RFID信息对象 cm_vehicle_rfid
 *
 * @author bs
 * @date 2025-01-12
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_vehicle_rfid")
@Data
public class CmVehicleRfid extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 车辆标签ID */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "车辆标签ID")
    private Long id;

    /** 车辆ID */

    @Excel(name = "车辆ID")
    @ApiModelProperty(value = "车辆ID")
    private Long vehicleId;

    /** 标签编号 */

    @Excel(name = "标签编号")
    @ApiModelProperty(value = "标签编号")
    private String rfidNo;

    /** 厂商 */

    @Excel(name = "厂商")
    @ApiModelProperty(value = "厂商")
    private String manufacturer;

    /** 是否有效 */

    @Excel(name = "是否有效")
    @ApiModelProperty(value = "是否有效")
    private String isValid;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;


    @TableField(exist = false)
    private CmVehicle vehicle;

    @TableField(exist = false)
    private CmVehicleRfidDate rfidDate;
}
