model is modified

This commit is contained in:
병준 박 2022-09-01 08:25:39 +00:00
parent dcc2798010
commit 5065542ce6

View File

@ -34,7 +34,7 @@ pub struct Member {
pub deleted_at: ::core::option::Option<u64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberModel {
pub struct ParentMemberModel {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
@ -75,6 +75,48 @@ pub struct MemberModel {
#[prost(uint64, optional, tag = "19")]
pub deleted_at: ::core::option::Option<u64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberModel {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub site: ::core::option::Option<super::site::Site>,
#[prost(message, optional, tag = "3")]
pub member_class: ::core::option::Option<super::member_class::MemberClass>,
#[prost(message, optional, tag = "4")]
pub member_level: ::core::option::Option<super::member_level::MemberLevel>,
#[prost(message, optional, tag = "5")]
pub bank_account: ::core::option::Option<super::member_bank_account::MemberBankAccountModel>,
#[prost(message, optional, tag = "6")]
pub parent_member: ::core::option::Option<ParentMemberModel>,
#[prost(uint64, tag = "7")]
pub child_member_count: u64,
#[prost(string, tag = "8")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "9")]
pub nickname: ::prost::alloc::string::String,
#[prost(string, optional, tag = "10")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "MemberState", tag = "11")]
pub state: i32,
#[prost(uint64, optional, tag = "12")]
pub state_changed_at: ::core::option::Option<u64>,
#[prost(message, optional, tag = "13")]
pub member_game_setting: ::core::option::Option<super::member_game_setting::MemberGameSetting>,
#[prost(message, optional, tag = "14")]
pub member_settlement_setting:
::core::option::Option<super::member_settlement_setting::MemberSettlementSetting>,
#[prost(string, optional, tag = "15")]
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag = "16")]
pub last_signined_at: ::core::option::Option<u64>,
#[prost(uint64, tag = "17")]
pub created_at: u64,
#[prost(uint64, tag = "18")]
pub updated_at: u64,
#[prost(uint64, optional, tag = "19")]
pub deleted_at: ::core::option::Option<u64>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum MemberState {