// 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 TableNameTrainSize = "train_size" // TrainSize mapped from table type TrainSize struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键 Name string `gorm:"column:name;comment:名称" json:"name"` // 名称 CarriageLength int32 `gorm:"column:carriage_length;comment:列车车厢长度" json:"carriage_length"` // 列车车厢长度 TotalLength int32 `gorm:"column:total_length;comment:总长度" json:"total_length"` // 总长度 Description string `gorm:"column:description;comment:其他描述内容" json:"description"` // 其他描述内容 } // TableName TrainSize's table name func (*TrainSize) TableName() string { return TableNameTrainSize }