// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // TWoRecord is the golang structure for table t_wo_record. type TWoRecord struct { Id int64 `json:"id" orm:"id" description:"主键ID"` WoNo string `json:"woNo" orm:"wo_no" description:"工单编号"` OperationType int `json:"operationType" orm:"operation_type" description:"操作类型:0创建,1分派,2处理,3完成,4关单,5取消"` OperationDeptId int64 `json:"operationDeptId" orm:"operation_dept_id" description:"操作机构ID"` OperationUserId int64 `json:"operationUserId" orm:"operation_user_id" description:"操作用户ID"` TargetDeptId int64 `json:"targetDeptId" orm:"target_dept_id" description:"目标部门ID"` TargetUserId int64 `json:"targetUserId" orm:"target_user_id" description:"目标用户ID"` BeforeStatus int `json:"beforeStatus" orm:"before_status" description:"变更前状态"` AfterStatus int `json:"afterStatus" orm:"after_status" description:"变更后状态"` TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"` CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"` CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"` CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"` UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` }