|
@@ -1,6 +1,5 @@
|
|
|
package viewmodels
|
|
package viewmodels
|
|
|
|
|
|
|
|
-// AccountInfo Account Data Model
|
|
|
|
|
type AccountInfo struct {
|
|
type AccountInfo struct {
|
|
|
OcId int64 `json:"ocId" xorm:"'oc_id' bigint comment('组织ID:公司或机构或单位ID')"`
|
|
OcId int64 `json:"ocId" xorm:"'oc_id' bigint comment('组织ID:公司或机构或单位ID')"`
|
|
|
OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint comment('OC TYPE ID')"`
|
|
OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint comment('OC TYPE ID')"`
|
|
@@ -23,7 +22,6 @@ type AccountInfo struct {
|
|
|
IsFixed int64 `json:"isFixed" xorm:"'isFixed' bigint default 1 comment('状态,默认值 1,[0:未激活; 1:正常; 2:锁定; -1:删除'])"`
|
|
IsFixed int64 `json:"isFixed" xorm:"'isFixed' bigint default 1 comment('状态,默认值 1,[0:未激活; 1:正常; 2:锁定; -1:删除'])"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// TableName table name
|
|
|
|
|
func (t *AccountInfo) TableName() string {
|
|
func (t *AccountInfo) TableName() string {
|
|
|
return "account"
|
|
return "account"
|
|
|
}
|
|
}
|