| 8 | ) |
| 9 | |
| 10 | type DocumentHistory struct { |
| 11 | HistoryId int `orm:"column(history_id);pk;auto;unique" json:"history_id"` |
| 12 | Action string `orm:"column(action);size(255)" json:"action"` |
| 13 | ActionName string `orm:"column(action_name);size(255)" json:"action_name"` |
| 14 | DocumentId int `orm:"column(document_id);type(int);index" json:"doc_id"` |
| 15 | DocumentName string `orm:"column(document_name);size(500)" json:"doc_name"` |
| 16 | ParentId int `orm:"column(parent_id);type(int);index;default(0)" json:"parent_id"` |
| 17 | MemberId int `orm:"column(member_id);type(int);index" json:"member_id"` |
| 18 | ModifyTime time.Time `orm:"column(modify_time);type(datetime);auto_now" json:"modify_time"` |
| 19 | ModifyAt int `orm:"column(modify_at);type(int)" json:"-"` |
| 20 | Version int64 `orm:"type(bigint);column(version)" json:"version"` |
| 21 | } |
| 22 | |
| 23 | type DocumentHistorySimpleResult struct { |
| 24 | HistoryId int `json:"history_id"` |
nothing calls this directly
no outgoing calls
no test coverage detected