12345678910111213141516171819202122232425262728293031 |
- package req
- import (
- "time"
- "ulink-admin/pkg/base"
- )
- type ViolationQuery struct {
- base.GlobalQuery
- Id int64 `form:"id"`
- Item string `form:"item"`
- Label string `form:"label"`
- Content string `form:"content"`
- Score int `form:"score"`
- CreateTime time.Time `form:"createTime"`
- CreateBy string `form:"createBy"`
- UpdateTime time.Time `form:"updateTime"`
- UpdateBy string `form:"updateBy"`
- }
- type ViolationBody struct {
- Id int64 `json:"id" `
- Item string `json:"item" binding:"required"`
- Label string `json:"label" `
- Content string `json:"content" `
- Score int `json:"score" binding:"required"`
- CreateTime time.Time `json:"createTime" `
- CreateBy string `json:"createBy" `
- UpdateTime time.Time `json:"updateTime" `
- UpdateBy string `json:"updateBy" `
- }
|