package forms

type ListAccessLog struct {
	User      string `form:"user" json:"user"`
	Content   string `form:"content" json:"content"`
	StartTime int64  `form:"start_time" json:"start_time"`
	EndTime   int64  `form:"end_time" json:"end_time"`
	OrgID     uint64 `form:"org_id,string" json:"org_id"`
}

type AccessLog struct {
	ID         uint64 `json:"id,string"`
	HappenedOn int64  `json:"happened_on"`
	User       string `json:"user"`
	Content    string `json:"content"`
}

type ListAccessLogResp struct {
	Total int64       `json:"total"`
	Items []AccessLog `json:"items"`
}
