syntax = "proto3";

import "types.proto";

package PCIeDeviceDB;

message PCIeDeviceInfo {
    option (table_name) = "t_pcie_device_info";
    option (persistence) = "protect_power_off";

    int32 SystemId = 1[(primary_key)=true];
    uint32 PCIeCardSlot = 2[(primary_key)=true];
    uint16 VendorId = 3[(default)="0xffff"];
    uint16 DeviceId = 4[(default)="0xffff"];
    uint16 SubVendorId = 5[(default)="0xffff"];
    uint16 SubDeviceId = 6[(default)="0xffff"];
    string Manufacturer = 7[(allow_null)=true];
    string CardDesc = 8[(allow_null)=true];
}