12345678910111213141516171819202122 |
- package models
- import (
- model2 "Medical_ERP/common/model"
- )
- type Spec struct {
- model2.Model
- Name string `gorm:"size:128" json:"name"` //规格名称
- Sort int `gorm:"size:4" json:"-" swaggerignore:"true"` //规格排序
- Remark string `gorm:"size:255" json:"-" swaggerignore:"true"` //描述
- model2.ControlBy
- model2.ModelTime
- }
- func (e *Spec) TableName() string {
- return "spec"
- }
- func (e *Spec) GetId() interface{} {
- return e.Id
- }
|