Documentation
¶
Index ¶
- type BATCHJOBEXECUTION
- func (entity *BATCHJOBEXECUTION) AutoMigrate(db *gorm.DB) error
- func (entity *BATCHJOBEXECUTION) GetCREATETIME() model.LocalTime
- func (entity *BATCHJOBEXECUTION) GetENDTIME() model.LocalTime
- func (entity *BATCHJOBEXECUTION) GetEXITCODE() string
- func (entity *BATCHJOBEXECUTION) GetEXITMESSAGE() string
- func (entity *BATCHJOBEXECUTION) GetJOBCONFIGURATIONLOCATION() string
- func (entity *BATCHJOBEXECUTION) GetJOBEXECUTIONID() int64
- func (entity *BATCHJOBEXECUTION) GetJOBINSTANCEID() int64
- func (entity *BATCHJOBEXECUTION) GetLASTUPDATED() model.LocalTime
- func (entity *BATCHJOBEXECUTION) GetSTARTTIME() model.LocalTime
- func (entity *BATCHJOBEXECUTION) GetSTATUS() string
- func (entity *BATCHJOBEXECUTION) GetVERSION() int64
- func (entity *BATCHJOBEXECUTION) Ini(iniPk bool) *BATCHJOBEXECUTION
- func (entity *BATCHJOBEXECUTION) IniNil(iniPk bool) *BATCHJOBEXECUTION
- func (entity *BATCHJOBEXECUTION) SetCREATETIME(CREATETIME model.LocalTime)
- func (entity *BATCHJOBEXECUTION) SetENDTIME(ENDTIME model.LocalTime)
- func (entity *BATCHJOBEXECUTION) SetEXITCODE(EXITCODE string)
- func (entity *BATCHJOBEXECUTION) SetEXITMESSAGE(EXITMESSAGE string)
- func (entity *BATCHJOBEXECUTION) SetJOBCONFIGURATIONLOCATION(JOBCONFIGURATIONLOCATION string)
- func (entity *BATCHJOBEXECUTION) SetJOBEXECUTIONID(JOBEXECUTIONID int64)
- func (entity *BATCHJOBEXECUTION) SetJOBINSTANCEID(JOBINSTANCEID int64)
- func (entity *BATCHJOBEXECUTION) SetLASTUPDATED(LASTUPDATED model.LocalTime)
- func (entity *BATCHJOBEXECUTION) SetSTARTTIME(STARTTIME model.LocalTime)
- func (entity *BATCHJOBEXECUTION) SetSTATUS(STATUS string)
- func (entity *BATCHJOBEXECUTION) SetVERSION(VERSION int64)
- func (entity *BATCHJOBEXECUTION) String() string
- func (entity *BATCHJOBEXECUTION) TableName() string
- func (entity *BATCHJOBEXECUTION) ToString() string
- func (entity *BATCHJOBEXECUTION) Unmarshal(body string) error
- func (entity *BATCHJOBEXECUTION) UnmarshalBy(body []byte) error
- type BATCHJOBEXECUTIONVo
- type SysDept
- func (entity *SysDept) AutoMigrate(db *gorm.DB) error
- func (entity *SysDept) GetAncestors() string
- func (entity *SysDept) GetCreateBy() string
- func (entity *SysDept) GetCreateTime() model.LocalTime
- func (entity *SysDept) GetDelFlag() string
- func (entity *SysDept) GetDeptId() int64
- func (entity *SysDept) GetDeptName() string
- func (entity *SysDept) GetEmail() string
- func (entity *SysDept) GetLeader() string
- func (entity *SysDept) GetOrderNum() int32
- func (entity *SysDept) GetParentId() int64
- func (entity *SysDept) GetPhone() string
- func (entity *SysDept) GetStatus() string
- func (entity *SysDept) GetUpdateBy() string
- func (entity *SysDept) GetUpdateTime() model.LocalTime
- func (entity *SysDept) Ini(iniPk bool) *SysDept
- func (entity *SysDept) IniNil(iniPk bool) *SysDept
- func (entity *SysDept) SetAncestors(Ancestors string)
- func (entity *SysDept) SetCreateBy(CreateBy string)
- func (entity *SysDept) SetCreateTime(CreateTime model.LocalTime)
- func (entity *SysDept) SetDelFlag(DelFlag string)
- func (entity *SysDept) SetDeptId(DeptId int64)
- func (entity *SysDept) SetDeptName(DeptName string)
- func (entity *SysDept) SetEmail(Email string)
- func (entity *SysDept) SetLeader(Leader string)
- func (entity *SysDept) SetOrderNum(OrderNum int32)
- func (entity *SysDept) SetParentId(ParentId int64)
- func (entity *SysDept) SetPhone(Phone string)
- func (entity *SysDept) SetStatus(Status string)
- func (entity *SysDept) SetUpdateBy(UpdateBy string)
- func (entity *SysDept) SetUpdateTime(UpdateTime model.LocalTime)
- func (entity *SysDept) String() string
- func (entity *SysDept) TableName() string
- func (entity *SysDept) ToString() string
- func (entity *SysDept) Unmarshal(body string) error
- func (entity *SysDept) UnmarshalBy(body []byte) error
- type SysDeptVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BATCHJOBEXECUTION ¶
type BATCHJOBEXECUTION struct { /* */ JOBEXECUTIONID int64 `gorm:"column:JOB_EXECUTION_ID;type:bigint(20);PRIMARY_KEY;comment:''" json:"jOBEXECUTIONID,string"` /* */ VERSION int64 `gorm:"column:VERSION;type:bigint(20);comment:''" json:"vERSION,string"` /* */ JOBINSTANCEID int64 `gorm:"column:JOB_INSTANCE_ID;type:bigint(20);comment:''" json:"jOBINSTANCEID,string"` /* */ CREATETIME model.LocalTime `gorm:"column:CREATE_TIME;type:datetime(6);comment:''" json:"cREATETIME"` /* */ STARTTIME model.LocalTime `gorm:"column:START_TIME;type:datetime(6);comment:''" json:"sTARTTIME"` /* */ ENDTIME model.LocalTime `gorm:"column:END_TIME;type:datetime(6);comment:''" json:"eNDTIME"` /* */ STATUS string `gorm:"column:STATUS;type:varchar(10);comment:''" json:"sTATUS"` /* */ EXITCODE string `gorm:"column:EXIT_CODE;type:varchar(2500);comment:''" json:"eXITCODE"` /* */ EXITMESSAGE string `gorm:"column:EXIT_MESSAGE;type:varchar(2500);comment:''" json:"eXITMESSAGE"` /* */ LASTUPDATED model.LocalTime `gorm:"column:LAST_UPDATED;type:datetime(6);comment:''" json:"lASTUPDATED"` /* */ JOBCONFIGURATIONLOCATION string `gorm:"column:JOB_CONFIGURATION_LOCATION;type:varchar(2500);comment:''" json:"jOBCONFIGURATIONLOCATION"` }
func (*BATCHJOBEXECUTION) AutoMigrate ¶
func (entity *BATCHJOBEXECUTION) AutoMigrate(db *gorm.DB) error
迁移
func (*BATCHJOBEXECUTION) GetCREATETIME ¶
func (entity *BATCHJOBEXECUTION) GetCREATETIME() model.LocalTime
func (*BATCHJOBEXECUTION) GetENDTIME ¶
func (entity *BATCHJOBEXECUTION) GetENDTIME() model.LocalTime
func (*BATCHJOBEXECUTION) GetEXITCODE ¶
func (entity *BATCHJOBEXECUTION) GetEXITCODE() string
func (*BATCHJOBEXECUTION) GetEXITMESSAGE ¶
func (entity *BATCHJOBEXECUTION) GetEXITMESSAGE() string
func (*BATCHJOBEXECUTION) GetJOBCONFIGURATIONLOCATION ¶
func (entity *BATCHJOBEXECUTION) GetJOBCONFIGURATIONLOCATION() string
func (*BATCHJOBEXECUTION) GetJOBEXECUTIONID ¶
func (entity *BATCHJOBEXECUTION) GetJOBEXECUTIONID() int64
func (*BATCHJOBEXECUTION) GetJOBINSTANCEID ¶
func (entity *BATCHJOBEXECUTION) GetJOBINSTANCEID() int64
func (*BATCHJOBEXECUTION) GetLASTUPDATED ¶
func (entity *BATCHJOBEXECUTION) GetLASTUPDATED() model.LocalTime
func (*BATCHJOBEXECUTION) GetSTARTTIME ¶
func (entity *BATCHJOBEXECUTION) GetSTARTTIME() model.LocalTime
func (*BATCHJOBEXECUTION) GetSTATUS ¶
func (entity *BATCHJOBEXECUTION) GetSTATUS() string
func (*BATCHJOBEXECUTION) GetVERSION ¶
func (entity *BATCHJOBEXECUTION) GetVERSION() int64
func (*BATCHJOBEXECUTION) Ini ¶
func (entity *BATCHJOBEXECUTION) Ini(iniPk bool) *BATCHJOBEXECUTION
iniPk bool:是否初始化主键JOBEXECUTIONID 初始化指针
func (*BATCHJOBEXECUTION) IniNil ¶
func (entity *BATCHJOBEXECUTION) IniNil(iniPk bool) *BATCHJOBEXECUTION
iniPk bool:是否初始化主键JOBEXECUTIONID 初始化指针
func (*BATCHJOBEXECUTION) SetCREATETIME ¶
func (entity *BATCHJOBEXECUTION) SetCREATETIME(CREATETIME model.LocalTime)
func (*BATCHJOBEXECUTION) SetENDTIME ¶
func (entity *BATCHJOBEXECUTION) SetENDTIME(ENDTIME model.LocalTime)
func (*BATCHJOBEXECUTION) SetEXITCODE ¶
func (entity *BATCHJOBEXECUTION) SetEXITCODE(EXITCODE string)
func (*BATCHJOBEXECUTION) SetEXITMESSAGE ¶
func (entity *BATCHJOBEXECUTION) SetEXITMESSAGE(EXITMESSAGE string)
func (*BATCHJOBEXECUTION) SetJOBCONFIGURATIONLOCATION ¶
func (entity *BATCHJOBEXECUTION) SetJOBCONFIGURATIONLOCATION(JOBCONFIGURATIONLOCATION string)
func (*BATCHJOBEXECUTION) SetJOBEXECUTIONID ¶
func (entity *BATCHJOBEXECUTION) SetJOBEXECUTIONID(JOBEXECUTIONID int64)
func (*BATCHJOBEXECUTION) SetJOBINSTANCEID ¶
func (entity *BATCHJOBEXECUTION) SetJOBINSTANCEID(JOBINSTANCEID int64)
func (*BATCHJOBEXECUTION) SetLASTUPDATED ¶
func (entity *BATCHJOBEXECUTION) SetLASTUPDATED(LASTUPDATED model.LocalTime)
func (*BATCHJOBEXECUTION) SetSTARTTIME ¶
func (entity *BATCHJOBEXECUTION) SetSTARTTIME(STARTTIME model.LocalTime)
func (*BATCHJOBEXECUTION) SetSTATUS ¶
func (entity *BATCHJOBEXECUTION) SetSTATUS(STATUS string)
func (*BATCHJOBEXECUTION) SetVERSION ¶
func (entity *BATCHJOBEXECUTION) SetVERSION(VERSION int64)
func (*BATCHJOBEXECUTION) TableName ¶
func (entity *BATCHJOBEXECUTION) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*BATCHJOBEXECUTION) ToString ¶
func (entity *BATCHJOBEXECUTION) ToString() string
func (*BATCHJOBEXECUTION) Unmarshal ¶
func (entity *BATCHJOBEXECUTION) Unmarshal(body string) error
func (*BATCHJOBEXECUTION) UnmarshalBy ¶
func (entity *BATCHJOBEXECUTION) UnmarshalBy(body []byte) error
type BATCHJOBEXECUTIONVo ¶
type BATCHJOBEXECUTIONVo struct { /* */ JOBEXECUTIONID int64 `gorm:"column:JOB_EXECUTION_ID;type:bigint(20);PRIMARY_KEY;comment:''" json:"jOBEXECUTIONID,string"` /* */ VERSION int64 `gorm:"column:VERSION;type:bigint(20);comment:''" json:"vERSION,string"` /* */ JOBINSTANCEID int64 `gorm:"column:JOB_INSTANCE_ID;type:bigint(20);comment:''" json:"jOBINSTANCEID,string"` /* */ CREATETIME model.LocalTime `gorm:"column:CREATE_TIME;type:datetime(6);comment:''" json:"cREATETIME"` /* */ STARTTIME model.LocalTime `gorm:"column:START_TIME;type:datetime(6);comment:''" json:"sTARTTIME"` /* */ ENDTIME model.LocalTime `gorm:"column:END_TIME;type:datetime(6);comment:''" json:"eNDTIME"` /* */ STATUS string `gorm:"column:STATUS;type:varchar(10);comment:''" json:"sTATUS"` /* */ EXITCODE string `gorm:"column:EXIT_CODE;type:varchar(2500);comment:''" json:"eXITCODE"` /* */ EXITMESSAGE string `gorm:"column:EXIT_MESSAGE;type:varchar(2500);comment:''" json:"eXITMESSAGE"` /* */ LASTUPDATED model.LocalTime `gorm:"column:LAST_UPDATED;type:datetime(6);comment:''" json:"lASTUPDATED"` /* */ JOBCONFIGURATIONLOCATION string `gorm:"column:JOB_CONFIGURATION_LOCATION;type:varchar(2500);comment:''" json:"jOBCONFIGURATIONLOCATION"` }
type SysDept ¶
type SysDept struct { /* 部门id */ DeptId int64 `gorm:"column:dept_id;type:bigint(20);PRIMARY_KEY;comment:'部门id'" json:"deptId,string"` /* 父部门id */ ParentId int64 `gorm:"column:parent_id;type:bigint(20);comment:'父部门id';default:0" json:"parentId,string"` /* 祖级列表 */ Ancestors string `gorm:"column:ancestors;type:varchar(50);comment:'祖级列表'" json:"ancestors"` /* 部门名称 */ DeptName string `gorm:"column:dept_name;type:varchar(30);comment:'部门名称'" json:"deptName"` /* 显示顺序 */ OrderNum int32 `gorm:"column:order_num;type:int(4);comment:'显示顺序';default:0" json:"orderNum"` /* 负责人 */ Leader string `gorm:"column:leader;type:varchar(20);comment:'负责人'" json:"leader"` /* 联系电话 */ Phone string `gorm:"column:phone;type:varchar(11);comment:'联系电话'" json:"phone"` /* 邮箱 */ Email string `gorm:"column:email;type:varchar(50);comment:'邮箱'" json:"email"` /* 部门状态(0正常 1停用) */ Status string `gorm:"column:status;type:char(1);comment:'部门状态(0正常 1停用)';default:\'0\'" json:"status"` /* 删除标志(0代表存在 2代表删除) */ DelFlag string `gorm:"column:del_flag;type:char(1);comment:'删除标志(0代表存在 2代表删除)';default:\'0\'" json:"delFlag"` /* 创建者 */ CreateBy string `gorm:"column:create_by;type:varchar(64);comment:'创建者'" json:"createBy"` /* 创建时间 */ CreateTime model.LocalTime `gorm:"column:create_time;type:datetime;comment:'创建时间'" json:"createTime"` /* 更新者 */ UpdateBy string `gorm:"column:update_by;type:varchar(64);comment:'更新者'" json:"updateBy"` /* 更新时间 */ UpdateTime model.LocalTime `gorm:"column:update_time;type:datetime;comment:'更新时间'" json:"updateTime"` }
部门表
func (*SysDept) GetAncestors ¶
func (*SysDept) GetCreateBy ¶
func (*SysDept) GetCreateTime ¶
func (*SysDept) GetDelFlag ¶
func (*SysDept) GetDeptName ¶
func (*SysDept) GetOrderNum ¶
func (*SysDept) GetParentId ¶
func (*SysDept) GetUpdateBy ¶
func (*SysDept) GetUpdateTime ¶
func (*SysDept) SetAncestors ¶
func (*SysDept) SetCreateBy ¶
func (*SysDept) SetCreateTime ¶
func (*SysDept) SetDelFlag ¶
func (*SysDept) SetDeptName ¶
func (*SysDept) SetOrderNum ¶
func (*SysDept) SetParentId ¶
func (*SysDept) SetUpdateBy ¶
func (*SysDept) SetUpdateTime ¶
func (*SysDept) UnmarshalBy ¶
type SysDeptVo ¶
type SysDeptVo struct { /* 部门id */ DeptId int64 `gorm:"column:dept_id;type:bigint(20);PRIMARY_KEY;comment:'部门id'" json:"deptId,string"` /* 父部门id */ ParentId int64 `gorm:"column:parent_id;type:bigint(20);comment:'父部门id';default:0" json:"parentId,string"` /* 祖级列表 */ Ancestors string `gorm:"column:ancestors;type:varchar(50);comment:'祖级列表'" json:"ancestors"` /* 部门名称 */ DeptName string `gorm:"column:dept_name;type:varchar(30);comment:'部门名称'" json:"deptName"` /* 显示顺序 */ OrderNum int32 `gorm:"column:order_num;type:int(4);comment:'显示顺序';default:0" json:"orderNum"` /* 负责人 */ Leader string `gorm:"column:leader;type:varchar(20);comment:'负责人'" json:"leader"` /* 联系电话 */ Phone string `gorm:"column:phone;type:varchar(11);comment:'联系电话'" json:"phone"` /* 邮箱 */ Email string `gorm:"column:email;type:varchar(50);comment:'邮箱'" json:"email"` /* 部门状态(0正常 1停用) */ Status string `gorm:"column:status;type:char(1);comment:'部门状态(0正常 1停用)';default:\'0\'" json:"status"` /* 删除标志(0代表存在 2代表删除) */ DelFlag string `gorm:"column:del_flag;type:char(1);comment:'删除标志(0代表存在 2代表删除)';default:\'0\'" json:"delFlag"` /* 创建者 */ CreateBy string `gorm:"column:create_by;type:varchar(64);comment:'创建者'" json:"createBy"` /* 创建时间 */ CreateTime model.LocalTime `gorm:"column:create_time;type:datetime;comment:'创建时间'" json:"createTime"` /* 更新者 */ UpdateBy string `gorm:"column:update_by;type:varchar(64);comment:'更新者'" json:"updateBy"` /* 更新时间 */ UpdateTime model.LocalTime `gorm:"column:update_time;type:datetime;comment:'更新时间'" json:"updateTime"` }
Click to show internal directories.
Click to hide internal directories.