12345678910111213141516171819202122 |
- package models
- import (
- model2 "Medical_ERP/common/model"
- )
- type DosageForm 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 *DosageForm) TableName() string {
- return "dosage_form"
- }
- func (e *DosageForm) GetId() interface{} {
- return e.Id
- }
|