1234567891011121314151617181920212223 |
- /*
- * @description:消息推送
- * @Author: LanJianRong
- * @Date: 2021-01-26 14:40:06
- * @FilePath: \construction_management\dao\project_message.go
- */
- package dao
- import (
- "github.com/go-xorm/xorm"
- )
- //数据库操作引擎
- type ProjectMessageDao struct {
- engine *xorm.Engine
- }
- //获得一个DAO对象
- func NewProjectMessageDao(engine *xorm.Engine) *ProjectMessageDao {
- return &ProjectMessageDao{
- engine: engine,
- }
- }
|