You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dsMin/dsSso/models/t_base_organization_log.go

43 lines
3.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package models
import (
"time"
)
type TBaseOrganizationLog struct {
LogId string `xorm:"not null pk comment('日志主键') CHAR(36)"`
OrgId string `xorm:"not null comment('组织机构ID') CHAR(36)"`
OrgCode string `xorm:"not null default '''' comment('组织机构编码') CHAR(30)"`
OrgName string `xorm:"not null default '''' comment('组织机构名称') VARCHAR(255)"`
ParentId string `xorm:"not null default '''' comment('上级部门ID单位填0') CHAR(36)"`
BureauId string `xorm:"not null default '''' comment('所在单位ID') CHAR(36)"`
OrgType int32 `xorm:"not null default -1 comment('组织机构类型 1教育局 2学校 3部门 4院 5系 6专业 7教辅单位,8:大学区') INT(11)"`
EduAssistType int32 `xorm:"not null default 0 comment('教辅单位类型') INT(11)"`
MainSchoolType int32 `xorm:"not null default 1 comment('主校类型1普通校2主校3分校') INT(11)"`
MainSchoolId string `xorm:"not null default '''' comment('如果是分校所属主校的ID,如果是主校是自己的ID如果是分校是主校ID如果是普通校也是自己的ID') CHAR(36)"`
ManageOrgId string `xorm:"not null default '''' comment('上级管理单位ID*一个单位只能有一个上级管理单位)') CHAR(36)"`
DirectlyUnderType int32 `xorm:"not null default 0 comment('直属类型 1普通 2省直 3市直') INT(11)"`
Xxbbm string `xorm:"not null default '''' comment('学校办别(学校专有属性)有字典') CHAR(2)"`
Xxbxlxm string `xorm:"not null default '''' comment('学校办学类型(学校专有属性)有字典') CHAR(3)"`
Szdcxlxm string `xorm:"not null default '''' comment('学校城乡类型(学校专有属性)有字典') CHAR(2)"`
Xxjbzm string `xorm:"not null default '''' comment('学校举办者(学校专有属性)有字典') CHAR(3)"`
Fzr string `xorm:"not null default '''' comment('机构负责人ID*一个单位只能有一个负责人)') CHAR(36)"`
Fddbr string `xorm:"not null default '''' comment('机构法定代表人') VARCHAR(50)"`
Fddbrdh string `xorm:"not null default '''' comment('机构法定代表人电话') VARCHAR(50)"`
Address string `xorm:"not null comment('组织机构地址') VARCHAR(255)"`
Lxdh string `xorm:"not null default '''' comment('机构联系电话') VARCHAR(50)"`
OrgLng float32 `xorm:"not null default 0 comment('组织机构经度') FLOAT"`
OrgLat float32 `xorm:"not null default 0 comment('组织机构纬度') FLOAT"`
SortId int32 `xorm:"not null default 0 comment('排序号在获取信息时如果排序号大于9999前台不显示') INT(11)"`
BUse int32 `xorm:"not null default 1 comment('是否启用 -1未启用 1启用') TINYINT(1)"`
ProvinceCode string `xorm:"not null default '''' comment('所在省行政区划码') CHAR(6)"`
CityCode string `xorm:"not null default '''' comment('所在市行政区划码') CHAR(6)"`
DistrictCode string `xorm:"not null default '''' comment('所在区行政区划码') CHAR(6)"`
AreaCode string `xorm:"not null default '''' comment('所在行政区划码') CHAR(6)"`
CreateTime time.Time `xorm:"not null default ''0000-00-00 00:00:00'' comment('创建时间') TIMESTAMP"`
ActionPersonId string `xorm:"not null comment('操作人员ID') CHAR(36)"`
ActionIpAddress string `xorm:"not null default '''' comment('操作IP') VARCHAR(100)"`
ActionTime time.Time `xorm:"not null default 'current_timestamp()' comment('操作时间') TIMESTAMP"`
ActionCode string `xorm:"not null comment('操作代码') VARCHAR(255)"`
}