|
|
package models
|
|
|
|
|
|
import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
type TBaseOrganizationLog struct {
|
|
|
LogIdInt int64 `xorm:"not null pk autoincr comment('整数主键') unique index(log_id_int_2) INT(11)"`
|
|
|
ActionName string `xorm:"not null comment('操作名称') VARCHAR(128)"`
|
|
|
OrgId string `xorm:"not null comment('组织机构ID') CHAR(36)"`
|
|
|
OrgCode string `xorm:"not null comment('单位代码,当此组织机构为部门时,填写0') VARCHAR(36)"`
|
|
|
OrgName string `xorm:"not null comment('组织机构名称') VARCHAR(64)"`
|
|
|
ParentId string `xorm:"not null comment('父节点ID') CHAR(36)"`
|
|
|
OrgTypeId int64 `xorm:"not null comment('单位类型,值域t_base_org_type_principalship') INT(4)"`
|
|
|
SchoolTypeId int64 `xorm:"not null comment('学校类型') INT(11)"`
|
|
|
SortId int64 `xorm:"not null comment('同级,排序号') INT(11)"`
|
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
|
|
|
BUse int64 `xorm:"not null comment('是不是可用?1:可用,2:不可用===========') INT(11)"`
|
|
|
OrgPkNum int64 `xorm:"not null comment('最大主键序列') INT(11)"`
|
|
|
CityId string `xorm:"not null comment('市ID') CHAR(36)"`
|
|
|
AreaId string `xorm:"not null comment('区ID') CHAR(36)"`
|
|
|
MainSchoolId string `xorm:"not null comment('主校ID') CHAR(36)"`
|
|
|
BureauId string `xorm:"not null comment('单位ID') CHAR(36)"`
|
|
|
IsBureau int64 `xorm:"not null default 0 comment('是不是一个单位,1表示是,0表示不是') INT(11)"`
|
|
|
UpdateTs time.Time `xorm:"not null default 'current_timestamp()' index(log_id_int_2) index TIMESTAMP"`
|
|
|
IdInt int64 `xorm:"not null INT(10)"`
|
|
|
Operator string `xorm:"not null comment('操作人员') CHAR(36)"`
|
|
|
IpAddress int64 `xorm:"not null default 0 comment('操作者IP') BIGINT(11)"`
|
|
|
PropertyId int64 `xorm:"not null default -1 comment('办别') INT(11)"`
|
|
|
LevelId int64 `xorm:"not null default -1 comment('隶属关系') INT(11)"`
|
|
|
ChengxiangId int64 `xorm:"not null default 1 comment('城乡类型') INT(11)"`
|
|
|
Zdmj float32 `xorm:"not null comment('学校占地面积(学校专有属性)') FLOAT(6,2)"`
|
|
|
Xsmj float32 `xorm:"not null comment('校舍建筑面积(学校专有属性)') FLOAT(6,2)"`
|
|
|
Ydcmj float32 `xorm:"not null comment('运动场面积(学校专有属性)') FLOAT(6,2)"`
|
|
|
Lhydmj float32 `xorm:"not null comment('学校绿化用地面积(学校专有属性)') FLOAT(6,2)"`
|
|
|
}
|