123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- package v1
- import (
- "property-applete-gateway/param/base"
- "property-applete-gateway/pb/v1"
- )
- type ServicePhoneClassAddBody struct {
- ClassName string `form:"class_name" json:"class_name"`
- Enable bool `form:"enable" json:"enable"`
- }
- type ServicePhoneClassAddRequest struct {
- base.Header
- ServicePhoneClassAddBody
- }
- type ServicePhoneClassAddResponse struct{
- base.Result
- Data v1.ServicePhoneClassAddReply `json:"data"`
- }
- type ServicePhoneClassUpdateBody struct {
- ClassName string `form:"class_name" json:"class_name"`
- Enable bool `form:"enable" json:"enable"`
- Id int64 `form:"id"`
- }
- type ServicePhoneClassUpdateRequest struct{
- base.Header
- ServicePhoneClassUpdateBody
- }
- type ServicePhoneClassUpdateResponse struct{
- base.Result
- }
- type ServicePhoneClassDelQuery struct {
- Id int64 `form:"id"`
- }
- type ServicePhoneClassDelRequest struct{
- base.Header
- ServicePhoneClassDelQuery
- }
- type ServicePhoneClassDelResponse struct{
- base.Result
- }
- type ServicePhoneClassListQuery struct {
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- }
- type ServicePhoneClassListRequest struct{
- base.Header
- ServicePhoneClassListQuery
- }
- type ServicePhoneClassListResponse struct{
- base.Result
- Data v1.ServicePhoneClassListReply `json:"data"`
- }
- type ServicePhoneAddBody struct {
- Name string `form:"name" json:"name"`
- Phone string `form:"phone" json:"phone"`
- ClassId int64 `form:"class_id" json:"class_id"`
- Enable bool `form:"enable" json:"enable"`
- }
- type ServicePhoneAddRequest struct {
- base.Header
- ServicePhoneAddBody
- }
- type ServicePhoneAddResponse struct{
- base.Result
- Data v1.ServicePhoneAddReply `json:"data"`
- }
- type ServicePhoneUpdateBody struct {
- Name string `form:"name" json:"name"`
- Phone string `form:"phone" json:"phone"`
- Enable bool `form:"enable" json:"enable"`
- Id int64 `form:"id"`
- }
- type ServicePhoneUpdateRequest struct{
- base.Header
- ServicePhoneUpdateBody
- }
- type ServicePhoneUpdateResponse struct{
- base.Result
- }
- type ServicePhoneDelQuery struct {
- Id int64 `form:"id"`
- }
- type ServicePhoneDelRequest struct{
- base.Header
- ServicePhoneDelQuery
- }
- type ServicePhoneDelResponse struct{
- base.Result
- }
- type ServicePhoneListQuery struct {
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- ClassId int64 `form:"class_id" json:"class_id"`
- }
- type ServicePhoneListRequest struct{
- base.Header
- ServicePhoneListQuery
- }
- type ServicePhoneListResponse struct{
- base.Result
- Data v1.ServicePhoneListReply `json:"data"`
- }
|