package datamodels import "time" type ApiModule struct { ModuleId int64 `json:"moduleId" xorm:"'module_id' bigint pk comment('Module ID') "` ModuleTitle string `json:"moduleTitle" xorm:"'module_title' varchar(127) comment('Module Title') "` ModuleCode string `json:"moduleCode" xorm:"'module_code' varchar(127) comment('Module Code') "` ModuleDesc string `json:"moduleDesc" xorm:"'module_desc' varchar(50) comment('Module Desc') "` IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint comment('是否可修改') "` CreatedBy int64 `json:"createdBy" xorm:"'created_by'"` CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"` UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"` UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"` DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"` DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"` DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"` } func (t *ApiModule) TableName() string { return "api_module" }