Documentation
¶
Index ¶
- Variables
- func ReturnSliceModel(tableName string) (interface{}, error)
- func ToActualSlice(tableName string, items []TableInterface) (interface{}, error)
- type ACGroup
- type ACTimeZones
- type ACUnlockComb
- type ATTPARAM
- type AUTHDEVICE
- type AlarmLog
- type AuditedExc
- type CHECKEXACT
- type CHECKINOUT
- type DEPARTMENTS
- type DeptUsedSchs
- type EXCNOTES
- type EmOpLog
- type FaceTemp
- type HOLIDAYS
- type LEAVECLASS
- type LEAVECLASS1
- type Machines
- type NUM_RUN
- type NUM_RUN_DEIL
- type ReportItem
- type SCHCLASS
- type SECURITYDETAILS
- type SHIFT
- type ServerLog
- type SystemLog
- type TBKEY
- type TBSMSALLOT
- type TBSMSINFO
- type TableInterface
- type USERINFO
- type USER_OF_RUN
- type USER_SPEDAY
- type USER_TEMP_SCH
- type UserACMachines
- type UserACPrivilege
- type UserUpdates
- type UserUsedSClasses
- type UsersMachines
Constants ¶
This section is empty.
Variables ¶
var Registry = map[string]func() TableInterface{ "ACGroup": func() TableInterface { return &ACGroup{} }, "ACTimeZones": func() TableInterface { return &ACTimeZones{} }, "ACUnlockComb": func() TableInterface { return &ACUnlockComb{} }, "AlarmLog": func() TableInterface { return &AlarmLog{} }, "ATTPARAM": func() TableInterface { return &ATTPARAM{} }, "AUTHDEVICE": func() TableInterface { return &AUTHDEVICE{} }, "AuditedExc": func() TableInterface { return &AuditedExc{} }, "CHECKEXACT": func() TableInterface { return &CHECKEXACT{} }, "CHECKINOUT": func() TableInterface { return &CHECKINOUT{} }, "DEPARTMENTS": func() TableInterface { return &DEPARTMENTS{} }, "DeptUsedSchs": func() TableInterface { return &DeptUsedSchs{} }, "EmOpLog": func() TableInterface { return &EmOpLog{} }, "EXCNOTES": func() TableInterface { return &EXCNOTES{} }, "FaceTemp": func() TableInterface { return &FaceTemp{} }, "HOLIDAYS": func() TableInterface { return &HOLIDAYS{} }, "LEAVECLASS": func() TableInterface { return &LEAVECLASS{} }, "LEAVECLASS1": func() TableInterface { return &LEAVECLASS1{} }, "Machines": func() TableInterface { return &Machines{} }, "NUM_RUN": func() TableInterface { return &NUM_RUN{} }, "NUM_RUN_DEIL": func() TableInterface { return &NUM_RUN_DEIL{} }, "ReportItem": func() TableInterface { return &ReportItem{} }, "SCHCLASS": func() TableInterface { return &SCHCLASS{} }, "SECURITYDETAILS": func() TableInterface { return &SECURITYDETAILS{} }, "ServerLog": func() TableInterface { return &ServerLog{} }, "SHIFT": func() TableInterface { return &SHIFT{} }, "SystemLog": func() TableInterface { return &SystemLog{} }, "TBKEY": func() TableInterface { return &TBKEY{} }, "TBSMSALLOT": func() TableInterface { return &TBSMSALLOT{} }, "TBSMSINFO": func() TableInterface { return &TBSMSINFO{} }, "USER_OF_RUN": func() TableInterface { return &USER_OF_RUN{} }, "USER_SPEDAY": func() TableInterface { return &USER_SPEDAY{} }, "USER_TEMP_SCH": func() TableInterface { return &USER_TEMP_SCH{} }, "UserACMachines": func() TableInterface { return &UserACMachines{} }, "UserACPrivilege": func() TableInterface { return &UserACPrivilege{} }, "USERINFO": func() TableInterface { return &USERINFO{} }, "UsersMachines": func() TableInterface { return &UsersMachines{} }, "UserUpdates": func() TableInterface { return &UserUpdates{} }, "UserUsedSClasses": func() TableInterface { return &UserUsedSClasses{} }, }
Functions ¶
func ReturnSliceModel ¶
func ToActualSlice ¶ added in v1.3.0
func ToActualSlice(tableName string, items []TableInterface) (interface{}, error)
ToActualSlice converts a slice of TableInterface to a slice of the specific model type corresponding to the given tableName (e.g., []*CHECKINOUT). The result is returned as an interface{} and must be type-asserted by the caller.
Types ¶
type ACGroup ¶
type ACGroup struct {
GroupID common.NullableInt64 `json:"GroupID" db:"GroupID" csv:"GroupID"`
Name common.NullableString `json:"Name" db:"Name" csv:"Name"`
TimeZone1 common.NullableInt64 `json:"TimeZone1" db:"TimeZone1" csv:"TimeZone1"`
TimeZone2 common.NullableInt64 `json:"TimeZone2" db:"TimeZone2" csv:"TimeZone2"`
TimeZone3 common.NullableInt64 `json:"TimeZone3" db:"TimeZone3" csv:"TimeZone3"`
}
ACGroup corresponds to the ACGroup table
type ACTimeZones ¶
type ACTimeZones struct {
TimeZoneID common.NullableInt64 `json:"TimeZoneID" db:"TimeZoneID" csv:"TimeZoneID"`
Name common.NullableString `json:"Name" db:"Name" csv:"Name"`
SunStart common.NullableTime `json:"SunStart" db:"SunStart" csv:"SunStart"`
SunEnd common.NullableTime `json:"SunEnd" db:"SunEnd" csv:"SunEnd"`
MonStart common.NullableTime `json:"MonStart" db:"MonStart" csv:"MonStart"`
MonEnd common.NullableTime `json:"MonEnd" db:"MonEnd" csv:"MonEnd"`
TuesStart common.NullableTime `json:"TuesStart" db:"TuesStart" csv:"TuesStart"`
TuesEnd common.NullableTime `json:"TuesEnd" db:"TuesEnd" csv:"TuesEnd"`
WedStart common.NullableTime `json:"WedStart" db:"WedStart" csv:"WedStart"`
WedEnd common.NullableTime `json:"WedEnd" db:"WedEnd" csv:"WedEnd"`
ThursStart common.NullableTime `json:"ThursStart" db:"ThursStart" csv:"ThursStart"`
ThursEnd common.NullableTime `json:"ThursEnd" db:"ThursEnd" csv:"ThursEnd"`
FriStart common.NullableTime `json:"FriStart" db:"FriStart" csv:"FriStart"`
FriEnd common.NullableTime `json:"FriEnd" db:"FriEnd" csv:"FriEnd"`
SatStart common.NullableTime `json:"SatStart" db:"SatStart" csv:"SatStart"`
SatEnd common.NullableTime `json:"SatEnd" db:"SatEnd" csv:"SatEnd"`
}
ACTimeZones corresponds to the ACTimeZones table
func (*ACTimeZones) TableName ¶
func (*ACTimeZones) TableName() string
type ACUnlockComb ¶
type ACUnlockComb struct {
UnlockCombID common.NullableInt64 `json:"UnlockCombID" db:"UnlockCombID" csv:"UnlockCombID"`
Name common.NullableString `json:"Name" db:"Name" csv:"Name"`
Group01 common.NullableInt64 `json:"Group01" db:"Group01" csv:"Group01"`
Group02 common.NullableInt64 `json:"Group02" db:"Group02" csv:"Group02"`
Group03 common.NullableInt64 `json:"Group03" db:"Group03" csv:"Group03"`
Group04 common.NullableInt64 `json:"Group04" db:"Group04" csv:"Group04"`
Group05 common.NullableInt64 `json:"Group05" db:"Group05" csv:"Group05"`
}
ACUnlockComb corresponds to the ACUnlockComb table
func (*ACUnlockComb) TableName ¶
func (*ACUnlockComb) TableName() string
type ATTPARAM ¶
type ATTPARAM struct {
PARANAME common.NullableString `json:"PARANAME" db:"PARANAME" csv:"PARANAME"`
PARATYPE common.NullableString `json:"PARATYPE" db:"PARATYPE" csv:"PARATYPE"`
PARAVALUE common.NullableString `json:"PARAVALUE" db:"PARAVALUE" csv:"PARAVALUE"`
}
ATTPARAM corresponds to the ATTPARAM table
type AUTHDEVICE ¶
type AUTHDEVICE struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
MachineID common.NullableInt64 `json:"MachineID" db:"MachineID" csv:"MachineID"`
}
AUTHDEVICE corresponds to the AUTHDEVICE table
func (*AUTHDEVICE) TableName ¶
func (*AUTHDEVICE) TableName() string
type AlarmLog ¶
type AlarmLog struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
Operator common.NullableString `json:"Operator" db:"Operator" csv:"Operator"`
EnrollNumber common.NullableString `json:"EnrollNumber" db:"EnrollNumber" csv:"EnrollNumber"`
LogTime common.NullableTime `json:"LogTime" db:"LogTime" csv:"LogTime"`
MachineAlias common.NullableString `json:"MachineAlias" db:"MachineAlias" csv:"MachineAlias"`
AlarmType common.NullableInt64 `json:"AlarmType" db:"AlarmType" csv:"AlarmType"`
}
AlarmLog corresponds to the AlarmLog table
type AuditedExc ¶
type AuditedExc struct {
AEID common.NullableInt64 `json:"AEID" db:"AEID" csv:"AEID"`
UserId common.NullableInt64 `json:"UserId" db:"UserId" csv:"UserId"`
CheckTime common.NullableTime `json:"CheckTime" db:"CheckTime" csv:"CheckTime"`
NewExcID common.NullableInt64 `json:"NewExcID" db:"NewExcID" csv:"NewExcID"`
IsLeave common.NullableInt64 `json:"IsLeave" db:"IsLeave" csv:"IsLeave"`
UName common.NullableString `json:"UName" db:"UName" csv:"UName"`
UTime common.NullableTime `json:"UTime" db:"UTime" csv:"UTime"`
}
AuditedExc corresponds to the AuditedExc table
func (*AuditedExc) TableName ¶
func (*AuditedExc) TableName() string
type CHECKEXACT ¶
type CHECKEXACT struct {
EXACTID common.NullableInt64 `json:"EXACTID" db:"EXACTID" csv:"EXACTID"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
CHECKTIME common.NullableString `json:"CHECKTIME" db:"CHECKTIME" csv:"CHECKTIME"`
CHECKTYPE common.NullableString `json:"CHECKTYPE" db:"CHECKTYPE" csv:"CHECKTYPE"`
ISADD common.NullableInt64 `json:"ISADD" db:"ISADD" csv:"ISADD"`
YUYIN common.NullableString `json:"YUYIN" db:"YUYIN" csv:"YUYIN"`
ISMODIFY common.NullableInt64 `json:"ISMODIFY" db:"ISMODIFY" csv:"ISMODIFY"`
ISDELETE common.NullableInt64 `json:"ISDELETE" db:"ISDELETE" csv:"ISDELETE"`
INCOUNT common.NullableInt64 `json:"INCOUNT" db:"INCOUNT" csv:"INCOUNT"`
ISCOUNT common.NullableInt64 `json:"ISCOUNT" db:"ISCOUNT" csv:"ISCOUNT"`
MODIFYBY common.NullableString `json:"MODIFYBY" db:"MODIFYBY" csv:"MODIFYBY"`
DATE common.NullableTime `json:"DATE" db:"DATE" csv:"DATE"`
}
CHECKEXACT corresponds to the CHECKEXACT table
func (*CHECKEXACT) TableName ¶
func (*CHECKEXACT) TableName() string
type CHECKINOUT ¶
type CHECKINOUT struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
CHECKTIME common.NullableTime `json:"CHECKTIME" db:"CHECKTIME" csv:"CHECKTIME"`
CHECKTYPE common.NullableString `json:"CHECKTYPE" db:"CHECKTYPE" csv:"CHECKTYPE"`
VERIFYCODE common.NullableInt64 `json:"VERIFYCODE" db:"VERIFYCODE" csv:"VERIFYCODE"`
SENSORID common.NullableString `json:"SENSORID" db:"SENSORID" csv:"SENSORID"`
WorkCode common.NullableInt64 `json:"WorkCode" db:"WorkCode" csv:"WorkCode"`
Sn common.NullableString `json:"sn" db:"sn" csv:"sn"`
UserExtFmt common.NullableInt64 `json:"UserExtFmt" db:"UserExtFmt" csv:"UserExtFmt"`
}
CHECKINOUT corresponds to the CHECKINOUT table
func (*CHECKINOUT) TableName ¶
func (*CHECKINOUT) TableName() string
type DEPARTMENTS ¶
type DEPARTMENTS struct {
DEPTID common.NullableInt64 `json:"DEPTID" db:"DEPTID" csv:"DEPTID"`
DEPTNAME common.NullableString `json:"DEPTNAME" db:"DEPTNAME" csv:"DEPTNAME"`
SUPDEPTID common.NullableInt64 `json:"SUPDEPTID" db:"SUPDEPTID" csv:"SUPDEPTID"`
InheritParentSch common.NullableInt64 `json:"InheritParentSch" db:"InheritParentSch" csv:"InheritParentSch"`
InheritDeptSch common.NullableInt64 `json:"InheritDeptSch" db:"InheritDeptSch" csv:"InheritDeptSch"`
InheritDeptSchClass common.NullableInt64 `json:"InheritDeptSchClass" db:"InheritDeptSchClass" csv:"InheritDeptSchClass"`
AutoSchPlan common.NullableInt64 `json:"AutoSchPlan" db:"AutoSchPlan" csv:"AutoSchPlan"`
InLate common.NullableInt64 `json:"InLate" db:"InLate" csv:"InLate"`
OutEarly common.NullableInt64 `json:"OutEarly" db:"OutEarly" csv:"OutEarly"`
InheritDeptRule common.NullableInt64 `json:"InheritDeptRule" db:"InheritDeptRule" csv:"InheritDeptRule"`
MinAutoSchInterval common.NullableInt64 `json:"MinAutoSchInterval" db:"MinAutoSchInterval" csv:"MinAutoSchInterval"`
RegisterOT common.NullableInt64 `json:"RegisterOT" db:"RegisterOT" csv:"RegisterOT"`
DefaultSchId common.NullableInt64 `json:"DefaultSchId" db:"DefaultSchId" csv:"DefaultSchId"`
ATT common.NullableInt64 `json:"ATT" db:"ATT" csv:"ATT"`
Holiday common.NullableInt64 `json:"Holiday" db:"Holiday" csv:"Holiday"`
OverTime common.NullableInt64 `json:"OverTime" db:"OverTime" csv:"OverTime"`
}
DEPARTMENTS corresponds to the DEPARTMENTS table
func (*DEPARTMENTS) TableName ¶
func (*DEPARTMENTS) TableName() string
type DeptUsedSchs ¶
type DeptUsedSchs struct {
DeptId common.NullableInt64 `json:"DeptId" db:"DeptId" csv:"DeptId"`
SchId common.NullableInt64 `json:"SchId" db:"SchId" csv:"SchId"`
}
DeptUsedSchs corresponds to the DeptUsedSchs table
func (*DeptUsedSchs) TableName ¶
func (*DeptUsedSchs) TableName() string
type EXCNOTES ¶
type EXCNOTES struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
ATTDATE common.NullableTime `json:"ATTDATE" db:"ATTDATE" csv:"ATTDATE"`
NOTES common.NullableString `json:"NOTES" db:"NOTES" csv:"NOTES"`
}
EXCNOTES corresponds to the EXCNOTES table
type EmOpLog ¶
type EmOpLog struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
OperateTime common.NullableTime `json:"OperateTime" db:"OperateTime" csv:"OperateTime"`
ManipulationID common.NullableInt64 `json:"manipulationID" db:"manipulationID" csv:"manipulationID"`
Params1 common.NullableInt64 `json:"Params1" db:"Params1" csv:"Params1"`
Params2 common.NullableInt64 `json:"Params2" db:"Params2" csv:"Params2"`
Params3 common.NullableInt64 `json:"Params3" db:"Params3" csv:"Params3"`
Params4 common.NullableInt64 `json:"Params4" db:"Params4" csv:"Params4"`
SensorId common.NullableString `json:"SensorId" db:"SensorId" csv:"SensorId"`
}
EmOpLog corresponds to the EmOpLog table
type FaceTemp ¶
type FaceTemp struct {
TEMPLATEID common.NullableInt64 `json:"TEMPLATEID" db:"TEMPLATEID" csv:"TEMPLATEID"`
USERNO common.NullableString `json:"USERNO" db:"USERNO" csv:"USERNO"`
SIZE common.NullableInt64 `json:"SIZE" db:"SIZE" csv:"SIZE"`
PIN common.NullableInt64 `json:"PIN" db:"PIN" csv:"PIN"`
FACEID common.NullableInt64 `json:"FACEID" db:"FACEID" csv:"FACEID"`
VALID common.NullableInt64 `json:"VALID" db:"VALID" csv:"VALID"`
RESERVE common.NullableInt64 `json:"RESERVE" db:"RESERVE" csv:"RESERVE"`
ACTIVETIME common.NullableInt64 `json:"ACTIVETIME" db:"ACTIVETIME" csv:"ACTIVETIME"`
VFCOUNT common.NullableInt64 `json:"VFCOUNT" db:"VFCOUNT" csv:"VFCOUNT"`
TEMPLATE common.NullableString `json:"TEMPLATE" db:"TEMPLATE" csv:"TEMPLATE"`
}
FaceTemp corresponds to the FaceTemp table
type HOLIDAYS ¶
type HOLIDAYS struct {
HOLIDAYID common.NullableInt64 `json:"HOLIDAYID" db:"HOLIDAYID" csv:"HOLIDAYID"`
HOLIDAYNAME common.NullableString `json:"HOLIDAYNAME" db:"HOLIDAYNAME" csv:"HOLIDAYNAME"`
HOLIDAYYEAR common.NullableInt64 `json:"HOLIDAYYEAR" db:"HOLIDAYYEAR" csv:"HOLIDAYYEAR"`
HOLIDAYMONTH common.NullableInt64 `json:"HOLIDAYMONTH" db:"HOLIDAYMONTH" csv:"HOLIDAYMONTH"`
HOLIDAYDAY common.NullableInt64 `json:"HOLIDAYDAY" db:"HOLIDAYDAY" csv:"HOLIDAYDAY"`
STARTTIME common.NullableTime `json:"STARTTIME" db:"STARTTIME" csv:"STARTTIME"`
DURATION common.NullableInt64 `json:"DURATION" db:"DURATION" csv:"DURATION"`
HOLIDAYTYPE common.NullableInt64 `json:"HOLIDAYTYPE" db:"HOLIDAYTYPE" csv:"HOLIDAYTYPE"`
XINBIE common.NullableString `json:"XINBIE" db:"XINBIE" csv:"XINBIE"`
MINZU common.NullableString `json:"MINZU" db:"MINZU" csv:"MINZU"`
DeptID common.NullableInt64 `json:"DeptID" db:"DeptID" csv:"DeptID"`
}
HOLIDAYS corresponds to the HOLIDAYS table
type LEAVECLASS ¶
type LEAVECLASS struct {
LEAVEID common.NullableInt64 `json:"LEAVEID" db:"LEAVEID" csv:"LEAVEID"`
LEAVENAME common.NullableString `json:"LEAVENAME" db:"LEAVENAME" csv:"LEAVENAME"`
MINUNIT common.NullableFloat64 `json:"MINUNIT" db:"MINUNIT" csv:"MINUNIT"`
UNIT common.NullableInt64 `json:"UNIT" db:"UNIT" csv:"UNIT"`
REMAINDPROC common.NullableInt64 `json:"REMAINDPROC" db:"REMAINDPROC" csv:"REMAINDPROC"`
REMAINDCOUNT common.NullableInt64 `json:"REMAINDCOUNT" db:"REMAINDCOUNT" csv:"REMAINDCOUNT"`
REPORTSYMBOL common.NullableString `json:"REPORTSYMBOL" db:"REPORTSYMBOL" csv:"REPORTSYMBOL"`
DEDUCT common.NullableFloat64 `json:"DEDUCT" db:"DEDUCT" csv:"DEDUCT"`
COLOR common.NullableInt64 `json:"COLOR" db:"COLOR" csv:"COLOR"`
CLASSIFY common.NullableInt64 `json:"CLASSIFY" db:"CLASSIFY" csv:"CLASSIFY"`
}
LEAVECLASS corresponds to the LEAVECLASS table
func (*LEAVECLASS) TableName ¶
func (*LEAVECLASS) TableName() string
type LEAVECLASS1 ¶
type LEAVECLASS1 struct {
LEAVEID common.NullableInt64 `json:"LEAVEID" db:"LEAVEID" csv:"LEAVEID"`
LEAVENAME common.NullableString `json:"LEAVENAME" db:"LEAVENAME" csv:"LEAVENAME"`
MINUNIT common.NullableFloat64 `json:"MINUNIT" db:"MINUNIT" csv:"MINUNIT"`
UNIT common.NullableInt64 `json:"UNIT" db:"UNIT" csv:"UNIT"`
REMAINDPROC common.NullableInt64 `json:"REMAINDPROC" db:"REMAINDPROC" csv:"REMAINDPROC"`
REMAINDCOUNT common.NullableInt64 `json:"REMAINDCOUNT" db:"REMAINDCOUNT" csv:"REMAINDCOUNT"`
REPORTSYMBOL common.NullableString `json:"REPORTSYMBOL" db:"REPORTSYMBOL" csv:"REPORTSYMBOL"`
DEDUCT common.NullableFloat64 `json:"DEDUCT" db:"DEDUCT" csv:"DEDUCT"`
LEAVETYPE common.NullableInt64 `json:"LEAVETYPE" db:"LEAVETYPE" csv:"LEAVETYPE"`
COLOR common.NullableInt64 `json:"COLOR" db:"COLOR" csv:"COLOR"`
CLASSIFY common.NullableInt64 `json:"CLASSIFY" db:"CLASSIFY" csv:"CLASSIFY"`
CALC common.NullableString `json:"CALC" db:"CALC" csv:"CALC"`
}
LEAVECLASS1 corresponds to the LEAVECLASS1 table
func (*LEAVECLASS1) TableName ¶
func (*LEAVECLASS1) TableName() string
type Machines ¶
type Machines struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
MachineAlias common.NullableString `json:"MachineAlias" db:"MachineAlias" csv:"MachineAlias"`
ConnectType common.NullableInt64 `json:"ConnectType" db:"ConnectType" csv:"ConnectType"`
IP common.NullableString `json:"IP" db:"IP" csv:"IP"`
SerialPort common.NullableInt64 `json:"SerialPort" db:"SerialPort" csv:"SerialPort"`
Port common.NullableInt64 `json:"Port" db:"Port" csv:"Port"`
Baudrate common.NullableInt64 `json:"Baudrate" db:"Baudrate" csv:"Baudrate"`
MachineNumber common.NullableInt64 `json:"MachineNumber" db:"MachineNumber" csv:"MachineNumber"`
IsHost common.NullableBool `json:"IsHost" db:"IsHost" csv:"IsHost"`
Enabled common.NullableBool `json:"Enabled" db:"Enabled" csv:"Enabled"`
CommPassword common.NullableString `json:"CommPassword" db:"CommPassword" csv:"CommPassword"`
UILanguage common.NullableInt64 `json:"UILanguage" db:"UILanguage" csv:"UILanguage"`
DateFormat common.NullableInt64 `json:"DateFormat" db:"DateFormat" csv:"DateFormat"`
InOutRecordWarn common.NullableInt64 `json:"InOutRecordWarn" db:"InOutRecordWarn" csv:"InOutRecordWarn"`
Idle common.NullableInt64 `json:"Idle" db:"Idle" csv:"Idle"`
Voice common.NullableInt64 `json:"Voice" db:"Voice" csv:"Voice"`
Managercount common.NullableInt64 `json:"managercount" db:"managercount" csv:"managercount"`
Usercount common.NullableInt64 `json:"usercount" db:"usercount" csv:"usercount"`
Fingercount common.NullableInt64 `json:"fingercount" db:"fingercount" csv:"fingercount"`
SecretCount common.NullableInt64 `json:"SecretCount" db:"SecretCount" csv:"SecretCount"`
FirmwareVersion common.NullableString `json:"FirmwareVersion" db:"FirmwareVersion" csv:"FirmwareVersion"`
ProductType common.NullableString `json:"ProductType" db:"ProductType" csv:"ProductType"`
LockControl common.NullableInt64 `json:"LockControl" db:"LockControl" csv:"LockControl"`
Purpose common.NullableInt64 `json:"Purpose" db:"Purpose" csv:"Purpose"`
ProduceKind common.NullableInt64 `json:"ProduceKind" db:"ProduceKind" csv:"ProduceKind"`
}
Machines corresponds to the Machines table
type NUM_RUN ¶
type NUM_RUN struct {
NUM_RUNID common.NullableInt64 `json:"NUM_RUNID" db:"NUM_RUNID" csv:"NUM_RUNID"`
OLDID common.NullableInt64 `json:"OLDID" db:"OLDID" csv:"OLDID"`
NAME common.NullableString `json:"NAME" db:"NAME" csv:"NAME"`
STARTDATE common.NullableTime `json:"STARTDATE" db:"STARTDATE" csv:"STARTDATE"`
ENDDATE common.NullableTime `json:"ENDDATE" db:"ENDDATE" csv:"ENDDATE"`
CYLE common.NullableInt64 `json:"CYLE" db:"CYLE" csv:"CYLE"`
UNITS common.NullableInt64 `json:"UNITS" db:"UNITS" csv:"UNITS"`
}
NUM_RUN corresponds to the NUM_RUN table
type NUM_RUN_DEIL ¶
type NUM_RUN_DEIL struct {
NUM_RUNID common.NullableInt64 `json:"NUM_RUNID" db:"NUM_RUNID" csv:"NUM_RUNID"`
STARTTIME common.NullableTime `json:"STARTTIME" db:"STARTTIME" csv:"STARTTIME"`
ENDTIME common.NullableTime `json:"ENDTIME" db:"ENDTIME" csv:"ENDTIME"`
SDAYS common.NullableInt64 `json:"SDAYS" db:"SDAYS" csv:"SDAYS"`
EDAYS common.NullableInt64 `json:"EDAYS" db:"EDAYS" csv:"EDAYS"`
SCHCLASSID common.NullableInt64 `json:"SCHCLASSID" db:"SCHCLASSID" csv:"SCHCLASSID"`
OverTime common.NullableInt64 `json:"OverTime" db:"OverTime" csv:"OverTime"`
}
NUM_RUN_DEIL corresponds to the NUM_RUN_DEIL table
func (*NUM_RUN_DEIL) TableName ¶
func (*NUM_RUN_DEIL) TableName() string
type ReportItem ¶
type ReportItem struct {
RIID common.NullableInt64 `json:"RIID" db:"RIID" csv:"RIID"`
RIIndex common.NullableInt64 `json:"RIIndex" db:"RIIndex" csv:"RIIndex"`
ShowIt common.NullableInt64 `json:"ShowIt" db:"ShowIt" csv:"ShowIt"`
RIName common.NullableString `json:"RIName" db:"RIName" csv:"RIName"`
UnitName common.NullableString `json:"UnitName" db:"UnitName" csv:"UnitName"`
FormulaName []byte `json:"FormulaName" db:"FormulaName" csv:"FormulaName"`
CalcBySchClass common.NullableInt64 `json:"CalcBySchClass" db:"CalcBySchClass" csv:"CalcBySchClass"`
StatisticMethod common.NullableInt64 `json:"StatisticMethod" db:"StatisticMethod" csv:"StatisticMethod"`
CalcLast common.NullableInt64 `json:"CalcLast" db:"CalcLast" csv:"CalcLast"`
Notes []byte `json:"Notes" db:"Notes" csv:"Notes"`
}
ReportItem corresponds to the ReportItem table
func (*ReportItem) TableName ¶
func (*ReportItem) TableName() string
type SCHCLASS ¶
type SCHCLASS struct {
SCHCLASSID common.NullableInt64 `json:"SCHCLASSID" db:"SCHCLASSID" csv:"SCHCLASSID"`
SCHNAME common.NullableString `json:"SCHNAME" db:"SCHNAME" csv:"SCHNAME"`
STARTTIME common.NullableTime `json:"STARTTIME" db:"STARTTIME" csv:"STARTTIME"`
ENDTIME common.NullableTime `json:"ENDTIME" db:"ENDTIME" csv:"ENDTIME"`
LATEMINUTES common.NullableInt64 `json:"LATEMINUTES" db:"LATEMINUTES" csv:"LATEMINUTES"`
EARLYMINUTES common.NullableInt64 `json:"EARLYMINUTES" db:"EARLYMINUTES" csv:"EARLYMINUTES"`
CHECKIN common.NullableInt64 `json:"CHECKIN" db:"CHECKIN" csv:"CHECKIN"`
CHECKOUT common.NullableInt64 `json:"CHECKOUT" db:"CHECKOUT" csv:"CHECKOUT"`
CHECKINTIME1 common.NullableTime `json:"CHECKINTIME1" db:"CHECKINTIME1" csv:"CHECKINTIME1"`
CHECKINTIME2 common.NullableTime `json:"CHECKINTIME2" db:"CHECKINTIME2" csv:"CHECKINTIME2"`
CHECKOUTTIME1 common.NullableTime `json:"CHECKOUTTIME1" db:"CHECKOUTTIME1" csv:"CHECKOUTTIME1"`
CHECKOUTTIME2 common.NullableTime `json:"CHECKOUTTIME2" db:"CHECKOUTTIME2" csv:"CHECKOUTTIME2"`
COLOR common.NullableInt64 `json:"COLOR" db:"COLOR" csv:"COLOR"`
AUTOBIND common.NullableInt64 `json:"AUTOBIND" db:"AUTOBIND" csv:"AUTOBIND"`
WorkDay common.NullableFloat64 `json:"WorkDay" db:"WorkDay" csv:"WorkDay"`
SensorID common.NullableString `json:"SensorID" db:"SensorID" csv:"SensorID"`
WorkMins common.NullableFloat64 `json:"WorkMins" db:"WorkMins" csv:"WorkMins"`
}
SCHCLASS corresponds to the SCHCLASS table
type SECURITYDETAILS ¶
type SECURITYDETAILS struct {
SECURITYDETAILID common.NullableInt64 `json:"SECURITYDETAILID" db:"SECURITYDETAILID" csv:"SECURITYDETAILID"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
DEPTID common.NullableInt64 `json:"DEPTID" db:"DEPTID" csv:"DEPTID"`
SCHEDULE common.NullableInt64 `json:"SCHEDULE" db:"SCHEDULE" csv:"SCHEDULE"`
USERINFO common.NullableInt64 `json:"USERINFO" db:"USERINFO" csv:"USERINFO"`
ENROLLFINGERS common.NullableInt64 `json:"ENROLLFINGERS" db:"ENROLLFINGERS" csv:"ENROLLFINGERS"`
REPORTVIEW common.NullableInt64 `json:"REPORTVIEW" db:"REPORTVIEW" csv:"REPORTVIEW"`
REPORT common.NullableString `json:"REPORT" db:"REPORT" csv:"REPORT"`
ReadOnly common.NullableInt64 `json:"ReadOnly" db:"ReadOnly" csv:"ReadOnly"`
FullControl common.NullableInt64 `json:"FullControl" db:"FullControl" csv:"FullControl"`
}
SECURITYDETAILS corresponds to the SECURITYDETAILS table
func (*SECURITYDETAILS) TableName ¶
func (*SECURITYDETAILS) TableName() string
type SHIFT ¶
type SHIFT struct {
SHIFTID common.NullableInt64 `json:"SHIFTID" db:"SHIFTID" csv:"SHIFTID"`
NAME common.NullableString `json:"NAME" db:"NAME" csv:"NAME"`
USHIFTID common.NullableInt64 `json:"USHIFTID" db:"USHIFTID" csv:"USHIFTID"`
STARTDATE common.NullableTime `json:"STARTDATE" db:"STARTDATE" csv:"STARTDATE"`
ENDDATE common.NullableTime `json:"ENDDATE" db:"ENDDATE" csv:"ENDDATE"`
RUNNUM common.NullableInt64 `json:"RUNNUM" db:"RUNNUM" csv:"RUNNUM"`
SCH1 common.NullableInt64 `json:"SCH1" db:"SCH1" csv:"SCH1"`
SCH2 common.NullableInt64 `json:"SCH2" db:"SCH2" csv:"SCH2"`
SCH3 common.NullableInt64 `json:"SCH3" db:"SCH3" csv:"SCH3"`
SCH4 common.NullableInt64 `json:"SCH4" db:"SCH4" csv:"SCH4"`
SCH5 common.NullableInt64 `json:"SCH5" db:"SCH5" csv:"SCH5"`
SCH6 common.NullableInt64 `json:"SCH6" db:"SCH6" csv:"SCH6"`
SCH7 common.NullableInt64 `json:"SCH7" db:"SCH7" csv:"SCH7"`
SCH8 common.NullableInt64 `json:"SCH8" db:"SCH8" csv:"SCH8"`
SCH9 common.NullableInt64 `json:"SCH9" db:"SCH9" csv:"SCH9"`
SCH10 common.NullableInt64 `json:"SCH10" db:"SCH10" csv:"SCH10"`
SCH11 common.NullableInt64 `json:"SCH11" db:"SCH11" csv:"SCH11"`
SCH12 common.NullableInt64 `json:"SCH12" db:"SCH12" csv:"SCH12"`
CYCLE common.NullableInt64 `json:"CYCLE" db:"CYCLE" csv:"CYCLE"`
UNITS common.NullableInt64 `json:"UNITS" db:"UNITS" csv:"UNITS"`
}
SHIFT corresponds to the SHIFT table
type ServerLog ¶
type ServerLog struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
EVENT common.NullableString `json:"EVENT" db:"EVENT" csv:"EVENT"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
EnrollNumber common.NullableString `json:"EnrollNumber" db:"EnrollNumber" csv:"EnrollNumber"`
Parameter common.NullableInt64 `json:"parameter" db:"parameter" csv:"parameter"`
EVENTTIME common.NullableTime `json:"EVENTTIME" db:"EVENTTIME" csv:"EVENTTIME"`
SENSORID common.NullableString `json:"SENSORID" db:"SENSORID" csv:"SENSORID"`
OPERATOR common.NullableString `json:"OPERATOR" db:"OPERATOR" csv:"OPERATOR"`
}
ServerLog corresponds to the ServerLog table
type SystemLog ¶
type SystemLog struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
Operator common.NullableString `json:"Operator" db:"Operator" csv:"Operator"`
LogTime common.NullableTime `json:"LogTime" db:"LogTime" csv:"LogTime"`
MachineAlias common.NullableString `json:"MachineAlias" db:"MachineAlias" csv:"MachineAlias"`
LogTag common.NullableInt64 `json:"LogTag" db:"LogTag" csv:"LogTag"`
LogDescr common.NullableString `json:"LogDescr" db:"LogDescr" csv:"LogDescr"`
}
SystemLog corresponds to the SystemLog table
type TBKEY ¶
type TBKEY struct {
PreName common.NullableString `json:"PreName" db:"PreName" csv:"PreName"`
ONEKEY common.NullableInt64 `json:"ONEKEY" db:"ONEKEY" csv:"ONEKEY"`
}
TBKEY corresponds to the TBKEY table
type TBSMSALLOT ¶
type TBSMSALLOT struct {
REFERENCE common.NullableInt64 `json:"REFERENCE" db:"REFERENCE" csv:"REFERENCE"`
SMSREF common.NullableInt64 `json:"SMSREF" db:"SMSREF" csv:"SMSREF"`
USERREF common.NullableInt64 `json:"USERREF" db:"USERREF" csv:"USERREF"`
GENTM common.NullableString `json:"GENTM" db:"GENTM" csv:"GENTM"`
}
TBSMSALLOT corresponds to the TBSMSALLOT table
func (*TBSMSALLOT) TableName ¶
func (*TBSMSALLOT) TableName() string
type TBSMSINFO ¶
type TBSMSINFO struct {
REFERENCE common.NullableInt64 `json:"REFERENCE" db:"REFERENCE" csv:"REFERENCE"`
SMSID common.NullableString `json:"SMSID" db:"SMSID" csv:"SMSID"`
SMSINDEX common.NullableInt64 `json:"SMSINDEX" db:"SMSINDEX" csv:"SMSINDEX"`
SMSTYPE common.NullableString `json:"SMSTYPE" db:"SMSTYPE" csv:"SMSTYPE"`
SMSCONTENT common.NullableString `json:"SMSCONTENT" db:"SMSCONTENT" csv:"SMSCONTENT"`
SMSSTARTTM common.NullableString `json:"SMSSTARTTM" db:"SMSSTARTTM" csv:"SMSSTARTTM"`
SMSTMLENG common.NullableInt64 `json:"SMSTMLENG" db:"SMSTMLENG" csv:"SMSTMLENG"`
GENTM common.NullableString `json:"GENTM" db:"GENTM" csv:"GENTM"`
}
TBSMSINFO corresponds to the TBSMSINFO table
type TableInterface ¶
type TableInterface interface {
TableName() string
}
func ReturnModel ¶
func ReturnModel(tableName string) TableInterface
type USERINFO ¶
type USERINFO struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
Badgenumber common.NullableString `json:"Badgenumber" db:"Badgenumber" csv:"Badgenumber"`
SSN common.NullableString `json:"SSN" db:"SSN" csv:"SSN"`
Name common.NullableString `json:"Name" db:"Name" csv:"Name"`
Gender common.NullableString `json:"Gender" db:"Gender" csv:"Gender"`
TITLE common.NullableString `json:"TITLE" db:"TITLE" csv:"TITLE"`
PAGER common.NullableString `json:"PAGER" db:"PAGER" csv:"PAGER"`
BIRTHDAY common.NullableTime `json:"BIRTHDAY" db:"BIRTHDAY" csv:"BIRTHDAY"`
HIREDDAY common.NullableTime `json:"HIREDDAY" db:"HIREDDAY" csv:"HIREDDAY"`
Street common.NullableString `json:"street" db:"street" csv:"street"`
CITY common.NullableString `json:"CITY" db:"CITY" csv:"CITY"`
STATE common.NullableString `json:"STATE" db:"STATE" csv:"STATE"`
ZIP common.NullableString `json:"ZIP" db:"ZIP" csv:"ZIP"`
OPHONE common.NullableString `json:"OPHONE" db:"OPHONE" csv:"OPHONE"`
FPHONE common.NullableString `json:"FPHONE" db:"FPHONE" csv:"FPHONE"`
VERIFICATIONMETHOD common.NullableInt64 `json:"VERIFICATIONMETHOD" db:"VERIFICATIONMETHOD" csv:"VERIFICATIONMETHOD"`
DEFAULTDEPTID common.NullableInt64 `json:"DEFAULTDEPTID" db:"DEFAULTDEPTID" csv:"DEFAULTDEPTID"`
SECURITYFLAGS common.NullableInt64 `json:"SECURITYFLAGS" db:"SECURITYFLAGS" csv:"SECURITYFLAGS"`
ATT common.NullableInt64 `json:"ATT" db:"ATT" csv:"ATT"`
INLATE common.NullableInt64 `json:"INLATE" db:"INLATE" csv:"INLATE"`
OUTEARLY common.NullableInt64 `json:"OUTEARLY" db:"OUTEARLY" csv:"OUTEARLY"`
OVERTIME common.NullableInt64 `json:"OVERTIME" db:"OVERTIME" csv:"OVERTIME"`
SEP common.NullableInt64 `json:"SEP" db:"SEP" csv:"SEP"`
HOLIDAY common.NullableInt64 `json:"HOLIDAY" db:"HOLIDAY" csv:"HOLIDAY"`
MINZU common.NullableString `json:"MINZU" db:"MINZU" csv:"MINZU"`
PASSWORD common.NullableString `json:"PASSWORD" db:"PASSWORD" csv:"PASSWORD"`
LUNCHDURATION common.NullableInt64 `json:"LUNCHDURATION" db:"LUNCHDURATION" csv:"LUNCHDURATION"`
MVERIFYPASS common.NullableString `json:"MVERIFYPASS" db:"MVERIFYPASS" csv:"MVERIFYPASS"`
PHOTO []byte `json:"PHOTO" db:"PHOTO" csv:"PHOTO"`
Notes []byte `json:"Notes" db:"Notes" csv:"Notes"`
Privilege common.NullableInt64 `json:"privilege" db:"privilege" csv:"privilege"`
InheritDeptSch common.NullableInt64 `json:"InheritDeptSch" db:"InheritDeptSch" csv:"InheritDeptSch"`
InheritDeptSchClass common.NullableInt64 `json:"InheritDeptSchClass" db:"InheritDeptSchClass" csv:"InheritDeptSchClass"`
AutoSchPlan common.NullableInt64 `json:"AutoSchPlan" db:"AutoSchPlan" csv:"AutoSchPlan"`
MinAutoSchInterval common.NullableInt64 `json:"MinAutoSchInterval" db:"MinAutoSchInterval" csv:"MinAutoSchInterval"`
RegisterOT common.NullableInt64 `json:"RegisterOT" db:"RegisterOT" csv:"RegisterOT"`
InheritDeptRule common.NullableInt64 `json:"InheritDeptRule" db:"InheritDeptRule" csv:"InheritDeptRule"`
EMPRIVILEGE common.NullableInt64 `json:"EMPRIVILEGE" db:"EMPRIVILEGE" csv:"EMPRIVILEGE"`
CardNo common.NullableString `json:"CardNo" db:"CardNo" csv:"CardNo"`
}
USERINFO corresponds to the USERINFO table
type USER_OF_RUN ¶
type USER_OF_RUN struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
NUM_OF_RUN_ID common.NullableInt64 `json:"NUM_OF_RUN_ID" db:"NUM_OF_RUN_ID" csv:"NUM_OF_RUN_ID"`
STARTDATE common.NullableTime `json:"STARTDATE" db:"STARTDATE" csv:"STARTDATE"`
ENDDATE common.NullableTime `json:"ENDDATE" db:"ENDDATE" csv:"ENDDATE"`
ISNOTOF_RUN common.NullableInt64 `json:"ISNOTOF_RUN" db:"ISNOTOF_RUN" csv:"ISNOTOF_RUN"`
ORDER_RUN common.NullableInt64 `json:"ORDER_RUN" db:"ORDER_RUN" csv:"ORDER_RUN"`
}
USER_OF_RUN corresponds to the USER_OF_RUN table
func (*USER_OF_RUN) TableName ¶
func (*USER_OF_RUN) TableName() string
type USER_SPEDAY ¶
type USER_SPEDAY struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
STARTSPECDAY common.NullableTime `json:"STARTSPECDAY" db:"STARTSPECDAY" csv:"STARTSPECDAY"`
ENDSPECDAY common.NullableTime `json:"ENDSPECDAY" db:"ENDSPECDAY" csv:"ENDSPECDAY"`
DATEID common.NullableInt64 `json:"DATEID" db:"DATEID" csv:"DATEID"`
YUANYING common.NullableString `json:"YUANYING" db:"YUANYING" csv:"YUANYING"`
DATE common.NullableTime `json:"DATE" db:"DATE" csv:"DATE"`
}
USER_SPEDAY corresponds to the USER_SPEDAY table
func (*USER_SPEDAY) TableName ¶
func (*USER_SPEDAY) TableName() string
type USER_TEMP_SCH ¶
type USER_TEMP_SCH struct {
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
COMETIME common.NullableTime `json:"COMETIME" db:"COMETIME" csv:"COMETIME"`
LEAVETIME common.NullableTime `json:"LEAVETIME" db:"LEAVETIME" csv:"LEAVETIME"`
OVERTIME common.NullableInt64 `json:"OVERTIME" db:"OVERTIME" csv:"OVERTIME"`
TYPE common.NullableInt64 `json:"TYPE" db:"TYPE" csv:"TYPE"`
FLAG common.NullableInt64 `json:"FLAG" db:"FLAG" csv:"FLAG"`
SCHCLASSID common.NullableInt64 `json:"SCHCLASSID" db:"SCHCLASSID" csv:"SCHCLASSID"`
}
USER_TEMP_SCH corresponds to the USER_TEMP_SCH table
func (*USER_TEMP_SCH) TableName ¶
func (*USER_TEMP_SCH) TableName() string
type UserACMachines ¶
type UserACMachines struct {
UserID common.NullableInt64 `json:"UserID" db:"UserID" csv:"UserID"`
Deviceid common.NullableInt64 `json:"Deviceid" db:"Deviceid" csv:"Deviceid"`
}
UserACMachines corresponds to the UserACMachines table
func (*UserACMachines) TableName ¶
func (*UserACMachines) TableName() string
type UserACPrivilege ¶
type UserACPrivilege struct {
UserID common.NullableInt64 `json:"UserID" db:"UserID" csv:"UserID"`
ACGroupID common.NullableInt64 `json:"ACGroupID" db:"ACGroupID" csv:"ACGroupID"`
IsUseGroup common.NullableBool `json:"IsUseGroup" db:"IsUseGroup" csv:"IsUseGroup"`
TimeZone1 common.NullableInt64 `json:"TimeZone1" db:"TimeZone1" csv:"TimeZone1"`
TimeZone2 common.NullableInt64 `json:"TimeZone2" db:"TimeZone2" csv:"TimeZone2"`
TimeZone3 common.NullableInt64 `json:"TimeZone3" db:"TimeZone3" csv:"TimeZone3"`
}
UserACPrivilege corresponds to the UserACPrivilege table
func (*UserACPrivilege) TableName ¶
func (*UserACPrivilege) TableName() string
type UserUpdates ¶
type UserUpdates struct {
UpdateId common.NullableInt64 `json:"UpdateId" db:"UpdateId" csv:"UpdateId"`
BadgeNumber common.NullableString `json:"BadgeNumber" db:"BadgeNumber" csv:"BadgeNumber"`
}
UserUpdates corresponds to the UserUpdates table
func (*UserUpdates) TableName ¶
func (*UserUpdates) TableName() string
type UserUsedSClasses ¶
type UserUsedSClasses struct {
UserId common.NullableInt64 `json:"UserId" db:"UserId" csv:"UserId"`
SchId common.NullableInt64 `json:"SchId" db:"SchId" csv:"SchId"`
}
UserUsedSClasses corresponds to the UserUsedSClasses table
func (*UserUsedSClasses) TableName ¶
func (*UserUsedSClasses) TableName() string
type UsersMachines ¶
type UsersMachines struct {
ID common.NullableInt64 `json:"ID" db:"ID" csv:"ID"`
USERID common.NullableInt64 `json:"USERID" db:"USERID" csv:"USERID"`
DEVICEID common.NullableInt64 `json:"DEVICEID" db:"DEVICEID" csv:"DEVICEID"`
}
UsersMachines corresponds to the UsersMachines table
func (*UsersMachines) TableName ¶
func (*UsersMachines) TableName() string