events are added

This commit is contained in:
병준 박 2022-08-28 03:11:14 +00:00
parent b1cf415efd
commit 1ebb3c8152
2 changed files with 44 additions and 0 deletions

View File

@ -1,4 +1,5 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit"; const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit";
const EVENT_SUBJECT: &str = "bet.beteran.ss_event.member_bank_deposit";
pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit");
@ -13,6 +14,9 @@ pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str =
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit");
pub const EVENT_SUBJECT_AFTER_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str =
const_format::concatcp!(EVENT_SUBJECT, ".AfterUpdateMemberBankDepositForState");
/// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit /// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankDepositRequest { pub struct CreateMemberBankDepositRequest {
@ -242,3 +246,21 @@ pub mod delete_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {} pub struct Result {}
} }
/// subject = bet.beteran.ss_event.member_bank_deposit.AfterUpdateMemberBankDepositForState
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterUpdateMemberBankDepositForState {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub event: ::core::option::Option<after_update_member_bank_deposit_for_state::Event>,
}
/// Nested message and enum types in `AfterUpdateMemberBankDepositForState`.
pub mod after_update_member_bank_deposit_for_state {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
#[prost(message, optional, tag = "1")]
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}

View File

@ -1,4 +1,5 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw"; const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw";
const EVENT_SUBJECT: &str = "bet.beteran.ss_event.member_bank_withdraw";
pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw");
@ -13,6 +14,9 @@ pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str =
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw");
pub const EVENT_SUBJECT_AFTER_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str =
const_format::concatcp!(EVENT_SUBJECT, ".AfterUpdateMemberBankWithdrawForState");
/// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw /// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberBankWithdrawRequest { pub struct CreateMemberBankWithdrawRequest {
@ -258,3 +262,21 @@ pub mod delete_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {} pub struct Result {}
} }
/// subject = bet.beteran.ss_event.member_bank_withdraw.AfterUpdateMemberBankWithdrawForState
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterUpdateMemberBankWithdrawForState {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub event: ::core::option::Option<after_update_member_bank_withdraw_for_state::Event>,
}
/// Nested message and enum types in `AfterUpdateMemberBankWithdrawForState`.
pub mod after_update_member_bank_withdraw_for_state {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}