flow.go 936 B

123456789101112131415161718192021222324
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. type Flow struct {
  4. Id int64 `json:"id"`
  5. PastureId int64 `json:"pastureId"`
  6. Name string `json:"name"`
  7. Category int32 `json:"category"`
  8. Type int32 `json:"type"`
  9. EndConditions string `json:"endConditions"`
  10. Remarks string `json:"remarks"`
  11. IsShow pasturePb.IsShow_Kind `json:"isShow"`
  12. IsDelete pasturePb.IsShow_Kind `json:"isDelete"`
  13. ExtendData string `json:"extendData"`
  14. OperationId int64 `json:"operationId"`
  15. OperationName string `json:"operationName"`
  16. CreatedAt int64 `json:"createdAt"`
  17. UpdatedAt int64 `json:"updatedAt"`
  18. }
  19. func (f *Flow) TableName() string {
  20. return "flow"
  21. }