mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-30 09:10:26 +08:00
媒介可以设置发送频率/消息接收人可以设置接收消息时间段
This commit is contained in:
@@ -37,6 +37,8 @@ type MessageRecipient struct {
|
||||
MessageRecipientGroups []*MessageRecipientGroup `protobuf:"bytes,5,rep,name=messageRecipientGroups,proto3" json:"messageRecipientGroups,omitempty"`
|
||||
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
||||
User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
|
||||
TimeFrom string `protobuf:"bytes,8,opt,name=timeFrom,proto3" json:"timeFrom,omitempty"`
|
||||
TimeTo string `protobuf:"bytes,9,opt,name=timeTo,proto3" json:"timeTo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageRecipient) Reset() {
|
||||
@@ -120,6 +122,20 @@ func (x *MessageRecipient) GetUser() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageRecipient) GetTimeFrom() string {
|
||||
if x != nil {
|
||||
return x.TimeFrom
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageRecipient) GetTimeTo() string {
|
||||
if x != nil {
|
||||
return x.TimeTo
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_models_model_message_recipient_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_recipient_proto_rawDesc = []byte{
|
||||
@@ -132,7 +148,7 @@ var file_models_model_message_recipient_proto_rawDesc = []byte{
|
||||
0x69, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x1a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x69, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x10,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x02, 0x0a, 0x10,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x1f, 0x0a, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
@@ -151,8 +167,11 @@ var file_models_model_message_recipient_proto_rawDesc = []byte{
|
||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x54, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x6f,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user