system_mobile.go 446 B

123456789101112131415
  1. package model
  2. import operationPb "kpt-tmr-group/proto/go/backend/operation"
  3. type SystemMobile struct {
  4. Id int64 `json:"id,omitempty"`
  5. Name string `json:"name"`
  6. IsShow operationPb.IsShow_Kind `json:"is_show"`
  7. CreatedAt int64 `json:"created_at"`
  8. UpdatedAt int64 `json:"updated_at"`
  9. }
  10. func (s *SystemMobile) TableName() string {
  11. return "system_mobile"
  12. }