package entity import "gitea.redpowerfuture.com/red-future/common/beans" // Session 会话记录 type Session struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt SessionId string `orm:"session_id" json:"sessionId" description:"会话ID"` SessionName string `orm:"session_name" json:"sessionName" description:"会话名称"` } type sessionCol struct { beans.SQLBaseCol SessionId string SessionName string } var SessionCol = sessionCol{ SQLBaseCol: beans.DefSQLBaseCol, SessionId: "session_id", SessionName: "session_name", }