// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model const TableNameTrainInfo = "train_info" // TrainInfo mapped from table type TrainInfo struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:id" json:"id"` // id Name string `gorm:"column:name;not null;comment:列车信息" json:"name"` // 列车信息 Proto []byte `gorm:"column:proto;not null;comment:列车参数信息" json:"proto"` // 列车参数信息 Description string `gorm:"column:description;comment:其他描述内容" json:"description"` // 其他描述内容 } // TableName TrainInfo's table name func (*TrainInfo) TableName() string { return TableNameTrainInfo }