package model import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow" type Flow struct { Id int64 `json:"id"` PastureId int64 `json:"pastureId"` Name string `json:"name"` Category int32 `json:"category"` Type int32 `json:"type"` EndConditions string `json:"endConditions"` Remarks string `json:"remarks"` IsShow pasturePb.IsShow_Kind `json:"isShow"` IsDelete pasturePb.IsShow_Kind `json:"isDelete"` ExtendData string `json:"extendData"` OperationId int64 `json:"operationId"` OperationName string `json:"operationName"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` } func (f *Flow) TableName() string { return "flow" }