bi_approve_message.go 957 B

1234567891011121314151617181920
  1. package biapprove
  2. import "time"
  3. type ReportApproveMessage struct {
  4. Id int `gorm:"primaryKey;column:id"`
  5. SendUserId int `gorm:"column:send_user_id"` // 发送人Id
  6. ReceiveUserId int `gorm:"column:receive_user_id"` // 接收者Id
  7. Content string `gorm:"column:content"` // 消息内容
  8. Remark string `gorm:"column:remark"` // 备注信息
  9. BiApproveId int `gorm:"column:report_approve_id"` // 审批Id
  10. ApproveState int `gorm:"column:approve_state"` // 审批状态:1-待审批;2-已审批;3-已驳回;4-已撤回
  11. IsRead int `gorm:"column:is_read"` // 是否已读:0-未读;1-已读
  12. CreateTime time.Time `gorm:"column:create_time"` // 创建时间
  13. ModifyTime time.Time `gorm:"column:modify_time"` // 修改时间
  14. }
  15. func (r *ReportApproveMessage) TableName() string {
  16. return "bi_approve_message"
  17. }