审查视图

pkg/infrastructure/pg/models/comapny.go 488 字节
tangxvhui authored
1 2 3 4 5
package models

import "time"

type Company struct {
tangxvhui authored
6 7 8 9 10 11
	tableName     struct{}   `pg:"company"`
	Id            int64      `pg:"pk:id"` //公司id
	Logo          string     //公司logo
	Name          string     //公司名称
	ChargeUserIds []int64    //公司级别的部门主管uids
	Status        int        //公司状态,1正常 2禁用
庄敏学 authored
12 13 14
	CreatedAt     time.Time  //创建时间
	UpdatedAt     time.Time  //更新时间
	DeletedAt     *time.Time `pg:",soft_delete"` //删除时间
tangxvhui authored
15
}