• 此项目
    • 正在载入...
  • 登录

mmm-go-pp / partner01 · 文件

转到一个项目

GitLab

  • 转到群组
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • partner01
  • pkg
  • infrastructure
  • pg
  • models
  • company.go
  • 新增【公司-领域模型】
    c247f9eb
    王健 在
    2021-04-08 15:43:11 +0800
    提交 浏览目录 »
company.go 368 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package models

import (
	"gitlab.fjmaimaimai.com/mmm-go-pp/partner01/pkg/domain"
	"time"
)

type Company struct {
	tableName string `pg:"companies,alias:company"`
	// 公司Id
	CompanyId int64 `pg:",pk"`
	// 公司信息
	CompanyInfo *domain.CompanyInfo
	// 创建时间
	CreateAt time.Time
	// 更新时间
	UpdateAt time.Time
	// 删除时间
	DeleteAt time.Time
}