plat_questionnaire.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package plat
  5. import (
  6. "dashoo.cn/micro/app/model/plat/internal"
  7. "dashoo.cn/opms_libary/request"
  8. "github.com/gogf/gf/os/gtime"
  9. )
  10. // PlatQuestionnaire is the golang structure for table plat_questionnaire.
  11. type PlatQuestionnaire internal.PlatQuestionnaire
  12. // Fill with you ideas below.
  13. type PlatQuestionnaireEx struct {
  14. internal.PlatQuestionnaire
  15. }
  16. // 查询
  17. type SearchPlatQuestionnaireReq struct {
  18. Id int ` json:"id"` // 主键
  19. UnitName string ` json:"unitName"` // 单位名称
  20. ObjPosition string ` json:"objPosition"` // 职位
  21. ObjName string ` json:"objName"` // 称呼
  22. ObjPhone string ` json:"objPhone"` // 电话
  23. ObjWechat string ` json:"objWechat"` // 微信
  24. CsnMatters string ` json:"csnMatters"` // 咨询事项
  25. QstStatus string ` json:"qstStatus"` // 状态 10待跟进20已跟进
  26. FollowUp string ` json:"followUp"` // 跟进情况
  27. Remark string ` json:"remark"` // 备注
  28. request.PageReq
  29. }
  30. // 添加数据
  31. type AddPlatQuestionnaire struct {
  32. Id int `orm:"id,primary" json:"id"` // 主键
  33. UnitName string `orm:"unit_name" json:"unitName"` // 单位名称
  34. ObjPosition string `orm:"obj_position" json:"objPosition"` // 职位
  35. ObjName string `orm:"obj_name" json:"objName"` // 称呼
  36. ObjPhone string `orm:"obj_phone" json:"objPhone"` // 电话
  37. ObjWechat string `orm:"obj_wechat" json:"objWechat"` // 微信
  38. CsnMatters string `orm:"csn_matters" json:"csnMatters"` // 咨询事项
  39. QstStatus string `orm:"qst_status" json:"qstStatus"` // 状态 10待跟进20已跟进
  40. FollowUp string `orm:"follow_up" json:"followUp"` // 跟进情况
  41. Remark string `orm:"remark" json:"remark"` // 备注
  42. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  43. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  44. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  45. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  46. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  47. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  48. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间 // 备注
  49. }
  50. //删除数据
  51. type IdsReq struct {
  52. Id []int `json:"ids"`
  53. }