6
0

announcement.go 2.0 KB

1234567891011121314151617181920212223242526272829303132
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // Announcement is the golang structure for table announcement.
  9. type Announcement struct {
  10. Title string `orm:"Title" json:"title"` // 标题
  11. Content string `orm:"Content" json:"content"` // 内容
  12. Sender string `orm:"Sender" json:"sender"` // 发送者
  13. SenderId int `orm:"SenderId" json:"senderId"` // 发送者ID
  14. Status int `orm:"Status" json:"status"` // 状态
  15. DeptId int `orm:"DeptId" json:"deptId"` // 部门Id
  16. DeptName string `orm:"DeptName" json:"deptName"` // 部门名称
  17. PublishTime *gtime.Time `orm:"PublishTime" json:"publishTime"` // 发布时间
  18. Id int `orm:"Id,primary" json:"id"` // 主键ID
  19. CreatedBy string `orm:"CreatedBy" json:"createdBy"` // 创建人
  20. CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
  21. UpdatedBy string `orm:"UpdatedBy" json:"updatedBy"` // 更新人
  22. UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
  23. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  24. CreatedById int `orm:"CreatedById" json:"createdById"` // 创建人ID
  25. UpdatedById int `orm:"UpdatedById" json:"updatedById"` // 更新人ID
  26. ReceiverDevice string `orm:"ReceiverDevice" json:"receiverDevice"` // 接收设备的终端编码
  27. Link string `orm:"Link" json:"link"` // 链接
  28. IsTop int `orm:"IsTop" json:"isTop"` // 是否置顶
  29. }