model is modified
This commit is contained in:
parent
b836bbf555
commit
6720f80f33
|
@ -309,7 +309,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
|
|
||||||
if (!!member) {
|
if (!!member) {
|
||||||
const parentUserName = member.getParentMember()?.getUsername();
|
const parentUserName = member.getParentMember()?.getUsername();
|
||||||
const parentClassesId = member.getParentMember()?.getMemberClassId();
|
const parentClassesId = member
|
||||||
|
.getParentMember()
|
||||||
|
?.getMemberClass()
|
||||||
|
?.getId();
|
||||||
const parentClass = this.memberClasses.find(
|
const parentClass = this.memberClasses.find(
|
||||||
(v) => v.getId() === parentClassesId
|
(v) => v.getId() === parentClassesId
|
||||||
);
|
);
|
||||||
|
|
|
@ -267,9 +267,9 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
__getParentMemberByBettingHistory(info: BettingHistoryModel): string {
|
__getParentMemberByBettingHistory(info: BettingHistoryModel): string {
|
||||||
const parentId = info.getMember()?.getParentMemberId();
|
const parent = info.getMember()?.getParentMember();
|
||||||
|
|
||||||
const pararent = this.listMember.find((v) => v.getId() === parentId);
|
const pararent = this.listMember.find((v) => v.getId() === parent?.getId());
|
||||||
|
|
||||||
const result = `[${pararent
|
const result = `[${pararent
|
||||||
?.getMemberClass()
|
?.getMemberClass()
|
||||||
|
|
|
@ -366,7 +366,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
const parentUsername = member.getParentMember()?.getUsername();
|
const parentUsername = member.getParentMember()?.getUsername();
|
||||||
const parentClassessId = member.getParentMember()?.getMemberClassId();
|
const parentClassessId = member
|
||||||
|
.getParentMember()
|
||||||
|
?.getMemberClass()
|
||||||
|
?.getId();
|
||||||
|
|
||||||
const findClass = this.findMemberClasses(parentClassessId);
|
const findClass = this.findMemberClasses(parentClassessId);
|
||||||
|
|
||||||
|
|
24
src/app/modules/proto/c2se/member_pb.d.ts
vendored
24
src/app/modules/proto/c2se/member_pb.d.ts
vendored
|
@ -436,11 +436,31 @@ export namespace ListMembersRequest {
|
||||||
getParentMemberId(): string;
|
getParentMemberId(): string;
|
||||||
setParentMemberId(value: string): void;
|
setParentMemberId(value: string): void;
|
||||||
|
|
||||||
|
hasUsername(): boolean;
|
||||||
|
clearUsername(): void;
|
||||||
|
getUsername(): string;
|
||||||
|
setUsername(value: string): void;
|
||||||
|
|
||||||
|
clearUsernamesList(): void;
|
||||||
|
getUsernamesList(): Array<string>;
|
||||||
|
setUsernamesList(value: Array<string>): void;
|
||||||
|
addUsernames(value: string, index?: number): string;
|
||||||
|
|
||||||
hasUsernameLike(): boolean;
|
hasUsernameLike(): boolean;
|
||||||
clearUsernameLike(): void;
|
clearUsernameLike(): void;
|
||||||
getUsernameLike(): string;
|
getUsernameLike(): string;
|
||||||
setUsernameLike(value: string): void;
|
setUsernameLike(value: string): void;
|
||||||
|
|
||||||
|
hasNickname(): boolean;
|
||||||
|
clearNickname(): void;
|
||||||
|
getNickname(): string;
|
||||||
|
setNickname(value: string): void;
|
||||||
|
|
||||||
|
clearNicknamesList(): void;
|
||||||
|
getNicknamesList(): Array<string>;
|
||||||
|
setNicknamesList(value: Array<string>): void;
|
||||||
|
addNicknames(value: string, index?: number): string;
|
||||||
|
|
||||||
hasNicknameLike(): boolean;
|
hasNicknameLike(): boolean;
|
||||||
clearNicknameLike(): void;
|
clearNicknameLike(): void;
|
||||||
getNicknameLike(): string;
|
getNicknameLike(): string;
|
||||||
|
@ -492,7 +512,11 @@ export namespace ListMembersRequest {
|
||||||
memberClassId: string;
|
memberClassId: string;
|
||||||
memberLevelId: string;
|
memberLevelId: string;
|
||||||
parentMemberId: string;
|
parentMemberId: string;
|
||||||
|
username: string;
|
||||||
|
usernamesList: Array<string>;
|
||||||
usernameLike: string;
|
usernameLike: string;
|
||||||
|
nickname: string;
|
||||||
|
nicknamesList: Array<string>;
|
||||||
nicknameLike: string;
|
nicknameLike: string;
|
||||||
mobilePhoneNumberLike: string;
|
mobilePhoneNumberLike: string;
|
||||||
lastSigninedIp: string;
|
lastSigninedIp: string;
|
||||||
|
|
|
@ -372,7 +372,14 @@ if (goog.DEBUG && !COMPILED) {
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search = function (opt_data) {
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search = function (opt_data) {
|
||||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
jspb.Message.initialize(
|
||||||
|
this,
|
||||||
|
opt_data,
|
||||||
|
0,
|
||||||
|
-1,
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.repeatedFields_,
|
||||||
|
null
|
||||||
|
);
|
||||||
};
|
};
|
||||||
goog.inherits(
|
goog.inherits(
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search,
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search,
|
||||||
|
@ -3448,6 +3455,15 @@ proto.bet.beteran.c2se.member.ListMembersRequest.serializeBinaryToWriter =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of repeated fields within this message type.
|
||||||
|
* @private {!Array<number>}
|
||||||
|
* @const
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.repeatedFields_ = [
|
||||||
|
6, 9,
|
||||||
|
];
|
||||||
|
|
||||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
/**
|
/**
|
||||||
* Creates an object representation of this proto.
|
* Creates an object representation of this proto.
|
||||||
|
@ -3488,12 +3504,18 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||||
usernameLike: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
username: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||||
nicknameLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
usernamesList:
|
||||||
mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
(f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
||||||
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
usernameLike: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
nickname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||||
deletedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
nicknamesList:
|
||||||
|
(f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
||||||
|
nicknameLike: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
||||||
|
mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
||||||
|
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
||||||
|
state: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
||||||
|
deletedAt: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includeInstance) {
|
if (includeInstance) {
|
||||||
|
@ -3551,27 +3573,43 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromRea
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
msg.setUsernameLike(value);
|
msg.setUsername(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
msg.setNicknameLike(value);
|
msg.addUsernames(value);
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
msg.setMobilePhoneNumberLike(value);
|
msg.setUsernameLike(value);
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
msg.setLastSigninedIp(value);
|
msg.setNickname(value);
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
msg.addNicknames(value);
|
||||||
|
break;
|
||||||
|
case 10:
|
||||||
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
msg.setNicknameLike(value);
|
||||||
|
break;
|
||||||
|
case 11:
|
||||||
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
msg.setMobilePhoneNumberLike(value);
|
||||||
|
break;
|
||||||
|
case 12:
|
||||||
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
msg.setLastSigninedIp(value);
|
||||||
|
break;
|
||||||
|
case 13:
|
||||||
var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
|
var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
|
||||||
reader.readEnum()
|
reader.readEnum()
|
||||||
);
|
);
|
||||||
msg.setState(value);
|
msg.setState(value);
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 14:
|
||||||
var value = /** @type {number} */ (reader.readUint64());
|
var value = /** @type {number} */ (reader.readUint64());
|
||||||
msg.setDeletedAt(value);
|
msg.setDeletedAt(value);
|
||||||
break;
|
break;
|
||||||
|
@ -3627,9 +3665,9 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeString(5, f);
|
writer.writeString(5, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
f = message.getUsernamesList();
|
||||||
if (f != null) {
|
if (f.length > 0) {
|
||||||
writer.writeString(6, f);
|
writer.writeRepeatedString(6, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
|
@ -3639,15 +3677,31 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeString(8, f);
|
writer.writeString(8, f);
|
||||||
}
|
}
|
||||||
|
f = message.getNicknamesList();
|
||||||
|
if (f.length > 0) {
|
||||||
|
writer.writeRepeatedString(9, f);
|
||||||
|
}
|
||||||
|
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
||||||
|
if (f != null) {
|
||||||
|
writer.writeString(10, f);
|
||||||
|
}
|
||||||
|
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
||||||
|
if (f != null) {
|
||||||
|
writer.writeString(11, f);
|
||||||
|
}
|
||||||
|
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
||||||
|
if (f != null) {
|
||||||
|
writer.writeString(12, f);
|
||||||
|
}
|
||||||
f = /** @type {!proto.bet.beteran.member.MemberState} */ (
|
f = /** @type {!proto.bet.beteran.member.MemberState} */ (
|
||||||
jspb.Message.getField(message, 9)
|
jspb.Message.getField(message, 13)
|
||||||
);
|
);
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeEnum(9, f);
|
writer.writeEnum(13, f);
|
||||||
}
|
}
|
||||||
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeUint64(10, f);
|
writer.writeUint64(14, f);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3804,10 +3858,10 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasParentMembe
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional string username_like = 5;
|
* optional string username = 5;
|
||||||
* @return {string}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsername =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {string} */ (
|
return /** @type {string} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||||
|
@ -3818,7 +3872,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLik
|
||||||
* @param {string} value
|
* @param {string} value
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsername =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 5, value);
|
return jspb.Message.setField(this, 5, value);
|
||||||
};
|
};
|
||||||
|
@ -3827,7 +3881,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLik
|
||||||
* Clears the field making it undefined.
|
* Clears the field making it undefined.
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsername =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.setField(this, 5, undefined);
|
return jspb.Message.setField(this, 5, undefined);
|
||||||
};
|
};
|
||||||
|
@ -3836,54 +3890,55 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameL
|
||||||
* Returns whether this field is set.
|
* Returns whether this field is set.
|
||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsername =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 5) != null;
|
return jspb.Message.getField(this, 5) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional string nickname_like = 6;
|
* repeated string usernames = 6;
|
||||||
* @return {string}
|
* @return {!Array<string>}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernamesList =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {string} */ (
|
return /** @type {!Array<string>} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
jspb.Message.getRepeatedField(this, 6)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} value
|
* @param {!Array<string>} value
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernamesList =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 6, value);
|
return jspb.Message.setField(this, 6, value || []);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears the field making it undefined.
|
* @param {string} value
|
||||||
|
* @param {number=} opt_index
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.addUsernames =
|
||||||
function () {
|
function (value, opt_index) {
|
||||||
return jspb.Message.setField(this, 6, undefined);
|
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this field is set.
|
* Clears the list making it empty but non-null.
|
||||||
* @return {boolean}
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernamesList =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 6) != null;
|
return this.setUsernamesList([]);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional string mobile_phone_number_like = 7;
|
* optional string username_like = 7;
|
||||||
* @return {string}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {string} */ (
|
return /** @type {string} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 7, "")
|
jspb.Message.getFieldWithDefault(this, 7, "")
|
||||||
|
@ -3894,7 +3949,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhone
|
||||||
* @param {string} value
|
* @param {string} value
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 7, value);
|
return jspb.Message.setField(this, 7, value);
|
||||||
};
|
};
|
||||||
|
@ -3903,7 +3958,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhone
|
||||||
* Clears the field making it undefined.
|
* Clears the field making it undefined.
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.setField(this, 7, undefined);
|
return jspb.Message.setField(this, 7, undefined);
|
||||||
};
|
};
|
||||||
|
@ -3912,16 +3967,16 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePho
|
||||||
* Returns whether this field is set.
|
* Returns whether this field is set.
|
||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 7) != null;
|
return jspb.Message.getField(this, 7) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional string last_signined_ip = 8;
|
* optional string nickname = 8;
|
||||||
* @return {string}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNickname =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {string} */ (
|
return /** @type {string} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 8, "")
|
jspb.Message.getFieldWithDefault(this, 8, "")
|
||||||
|
@ -3932,7 +3987,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSignine
|
||||||
* @param {string} value
|
* @param {string} value
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNickname =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 8, value);
|
return jspb.Message.setField(this, 8, value);
|
||||||
};
|
};
|
||||||
|
@ -3941,7 +3996,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSignine
|
||||||
* Clears the field making it undefined.
|
* Clears the field making it undefined.
|
||||||
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNickname =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.setField(this, 8, undefined);
|
return jspb.Message.setField(this, 8, undefined);
|
||||||
};
|
};
|
||||||
|
@ -3950,19 +4005,172 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigni
|
||||||
* Returns whether this field is set.
|
* Returns whether this field is set.
|
||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNickname =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 8) != null;
|
return jspb.Message.getField(this, 8) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional bet.beteran.member.MemberState state = 9;
|
* repeated string nicknames = 9;
|
||||||
|
* @return {!Array<string>}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknamesList =
|
||||||
|
function () {
|
||||||
|
return /** @type {!Array<string>} */ (
|
||||||
|
jspb.Message.getRepeatedField(this, 9)
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {!Array<string>} value
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknamesList =
|
||||||
|
function (value) {
|
||||||
|
return jspb.Message.setField(this, 9, value || []);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} value
|
||||||
|
* @param {number=} opt_index
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.addNicknames =
|
||||||
|
function (value, opt_index) {
|
||||||
|
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clears the list making it empty but non-null.
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknamesList =
|
||||||
|
function () {
|
||||||
|
return this.setNicknamesList([]);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* optional string nickname_like = 10;
|
||||||
|
* @return {string}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike =
|
||||||
|
function () {
|
||||||
|
return /** @type {string} */ (
|
||||||
|
jspb.Message.getFieldWithDefault(this, 10, "")
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} value
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike =
|
||||||
|
function (value) {
|
||||||
|
return jspb.Message.setField(this, 10, value);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clears the field making it undefined.
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.setField(this, 10, undefined);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether this field is set.
|
||||||
|
* @return {boolean}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.getField(this, 10) != null;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* optional string mobile_phone_number_like = 11;
|
||||||
|
* @return {string}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike =
|
||||||
|
function () {
|
||||||
|
return /** @type {string} */ (
|
||||||
|
jspb.Message.getFieldWithDefault(this, 11, "")
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} value
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike =
|
||||||
|
function (value) {
|
||||||
|
return jspb.Message.setField(this, 11, value);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clears the field making it undefined.
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.setField(this, 11, undefined);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether this field is set.
|
||||||
|
* @return {boolean}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.getField(this, 11) != null;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* optional string last_signined_ip = 12;
|
||||||
|
* @return {string}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp =
|
||||||
|
function () {
|
||||||
|
return /** @type {string} */ (
|
||||||
|
jspb.Message.getFieldWithDefault(this, 12, "")
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} value
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp =
|
||||||
|
function (value) {
|
||||||
|
return jspb.Message.setField(this, 12, value);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clears the field making it undefined.
|
||||||
|
* @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.setField(this, 12, undefined);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether this field is set.
|
||||||
|
* @return {boolean}
|
||||||
|
*/
|
||||||
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp =
|
||||||
|
function () {
|
||||||
|
return jspb.Message.getField(this, 12) != null;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* optional bet.beteran.member.MemberState state = 13;
|
||||||
* @return {!proto.bet.beteran.member.MemberState}
|
* @return {!proto.bet.beteran.member.MemberState}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {!proto.bet.beteran.member.MemberState} */ (
|
return /** @type {!proto.bet.beteran.member.MemberState} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 9, 0)
|
jspb.Message.getFieldWithDefault(this, 13, 0)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3972,7 +4180,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 9, value);
|
return jspb.Message.setField(this, 13, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3981,7 +4189,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.setField(this, 9, undefined);
|
return jspb.Message.setField(this, 13, undefined);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3990,17 +4198,17 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 9) != null;
|
return jspb.Message.getField(this, 13) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional uint64 deleted_at = 10;
|
* optional uint64 deleted_at = 14;
|
||||||
* @return {number}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {number} */ (
|
return /** @type {number} */ (
|
||||||
jspb.Message.getFieldWithDefault(this, 10, 0)
|
jspb.Message.getFieldWithDefault(this, 14, 0)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4010,7 +4218,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setField(this, 10, value);
|
return jspb.Message.setField(this, 14, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4019,7 +4227,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.setField(this, 10, undefined);
|
return jspb.Message.setField(this, 14, undefined);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4028,7 +4236,7 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt =
|
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt =
|
||||||
function () {
|
function () {
|
||||||
return jspb.Message.getField(this, 10) != null;
|
return jspb.Message.getField(this, 14) != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
58
src/app/modules/proto/models/api/betting_pb.d.ts
vendored
58
src/app/modules/proto/models/api/betting_pb.d.ts
vendored
|
@ -199,8 +199,8 @@ export class BettingHistoryModel extends jspb.Message {
|
||||||
|
|
||||||
hasMember(): boolean;
|
hasMember(): boolean;
|
||||||
clearMember(): void;
|
clearMember(): void;
|
||||||
getMember(): BettingHistoryModel.Member | undefined;
|
getMember(): models_member_pb.MemberModel | undefined;
|
||||||
setMember(value?: BettingHistoryModel.Member): void;
|
setMember(value?: models_member_pb.MemberModel): void;
|
||||||
|
|
||||||
serializeBinary(): Uint8Array;
|
serializeBinary(): Uint8Array;
|
||||||
toObject(includeInstance?: boolean): BettingHistoryModel.AsObject;
|
toObject(includeInstance?: boolean): BettingHistoryModel.AsObject;
|
||||||
|
@ -248,58 +248,6 @@ export namespace BettingHistoryModel {
|
||||||
category: string;
|
category: string;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
utcCreatedAt: number;
|
utcCreatedAt: number;
|
||||||
member?: BettingHistoryModel.Member.AsObject;
|
member?: models_member_pb.MemberModel.AsObject;
|
||||||
};
|
};
|
||||||
|
|
||||||
export class Member extends jspb.Message {
|
|
||||||
getSiteId(): string;
|
|
||||||
setSiteId(value: string): void;
|
|
||||||
|
|
||||||
getMemberClassId(): string;
|
|
||||||
setMemberClassId(value: string): void;
|
|
||||||
|
|
||||||
getMemberLevelId(): string;
|
|
||||||
setMemberLevelId(value: string): void;
|
|
||||||
|
|
||||||
hasParentMemberId(): boolean;
|
|
||||||
clearParentMemberId(): void;
|
|
||||||
getParentMemberId(): string;
|
|
||||||
setParentMemberId(value: string): void;
|
|
||||||
|
|
||||||
getNickname(): string;
|
|
||||||
setNickname(value: string): void;
|
|
||||||
|
|
||||||
hasMobilePhoneNumber(): boolean;
|
|
||||||
clearMobilePhoneNumber(): void;
|
|
||||||
getMobilePhoneNumber(): string;
|
|
||||||
setMobilePhoneNumber(value: string): void;
|
|
||||||
|
|
||||||
serializeBinary(): Uint8Array;
|
|
||||||
toObject(includeInstance?: boolean): Member.AsObject;
|
|
||||||
static toObject(includeInstance: boolean, msg: Member): Member.AsObject;
|
|
||||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
|
||||||
static extensionsBinary: {
|
|
||||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
|
||||||
};
|
|
||||||
static serializeBinaryToWriter(
|
|
||||||
message: Member,
|
|
||||||
writer: jspb.BinaryWriter
|
|
||||||
): void;
|
|
||||||
static deserializeBinary(bytes: Uint8Array): Member;
|
|
||||||
static deserializeBinaryFromReader(
|
|
||||||
message: Member,
|
|
||||||
reader: jspb.BinaryReader
|
|
||||||
): Member;
|
|
||||||
}
|
|
||||||
|
|
||||||
export namespace Member {
|
|
||||||
export type AsObject = {
|
|
||||||
siteId: string;
|
|
||||||
memberClassId: string;
|
|
||||||
memberLevelId: string;
|
|
||||||
parentMemberId: string;
|
|
||||||
nickname: string;
|
|
||||||
mobilePhoneNumber: string;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,11 +25,6 @@ goog.exportSymbol(
|
||||||
null,
|
null,
|
||||||
global
|
global
|
||||||
);
|
);
|
||||||
goog.exportSymbol(
|
|
||||||
"proto.bet.beteran.api.betting.BettingHistoryModel.Member",
|
|
||||||
null,
|
|
||||||
global
|
|
||||||
);
|
|
||||||
/**
|
/**
|
||||||
* Generated by JsPbCodeGenerator.
|
* Generated by JsPbCodeGenerator.
|
||||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||||
|
@ -74,31 +69,6 @@ if (goog.DEBUG && !COMPILED) {
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.displayName =
|
proto.bet.beteran.api.betting.BettingHistoryModel.displayName =
|
||||||
"proto.bet.beteran.api.betting.BettingHistoryModel";
|
"proto.bet.beteran.api.betting.BettingHistoryModel";
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Generated by JsPbCodeGenerator.
|
|
||||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
||||||
* server response, or constructed directly in Javascript. The array is used
|
|
||||||
* in place and becomes part of the constructed object. It is not cloned.
|
|
||||||
* If no data is provided, the constructed object will be empty, but still
|
|
||||||
* valid.
|
|
||||||
* @extends {jspb.Message}
|
|
||||||
* @constructor
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member = function (opt_data) {
|
|
||||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
||||||
};
|
|
||||||
goog.inherits(
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member,
|
|
||||||
jspb.Message
|
|
||||||
);
|
|
||||||
if (goog.DEBUG && !COMPILED) {
|
|
||||||
/**
|
|
||||||
* @public
|
|
||||||
* @override
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.displayName =
|
|
||||||
"proto.bet.beteran.api.betting.BettingHistoryModel.Member";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
/**
|
/**
|
||||||
|
@ -956,10 +926,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
utcCreatedAt: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
utcCreatedAt: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
||||||
member:
|
member:
|
||||||
(f = msg.getMember()) &&
|
(f = msg.getMember()) &&
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject(
|
models_member_pb.MemberModel.toObject(includeInstance, f),
|
||||||
includeInstance,
|
|
||||||
f
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includeInstance) {
|
if (includeInstance) {
|
||||||
|
@ -1093,12 +1060,10 @@ proto.bet.beteran.api.betting.BettingHistoryModel.deserializeBinaryFromReader =
|
||||||
msg.setUtcCreatedAt(value);
|
msg.setUtcCreatedAt(value);
|
||||||
break;
|
break;
|
||||||
case 24:
|
case 24:
|
||||||
var value =
|
var value = new models_member_pb.MemberModel();
|
||||||
new proto.bet.beteran.api.betting.BettingHistoryModel.Member();
|
|
||||||
reader.readMessage(
|
reader.readMessage(
|
||||||
value,
|
value,
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member
|
models_member_pb.MemberModel.deserializeBinaryFromReader
|
||||||
.deserializeBinaryFromReader
|
|
||||||
);
|
);
|
||||||
msg.setMember(value);
|
msg.setMember(value);
|
||||||
break;
|
break;
|
||||||
|
@ -1231,331 +1196,11 @@ proto.bet.beteran.api.betting.BettingHistoryModel.serializeBinaryToWriter =
|
||||||
writer.writeMessage(
|
writer.writeMessage(
|
||||||
24,
|
24,
|
||||||
f,
|
f,
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member
|
models_member_pb.MemberModel.serializeBinaryToWriter
|
||||||
.serializeBinaryToWriter
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
||||||
/**
|
|
||||||
* Creates an object representation of this proto.
|
|
||||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
||||||
* Optional fields that are not set will be set to undefined.
|
|
||||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
||||||
* For the list of reserved names please see:
|
|
||||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
||||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
||||||
* JSPB instance for transitional soy proto support:
|
|
||||||
* http://goto/soy-param-migration
|
|
||||||
* @return {!Object}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.toObject =
|
|
||||||
function (opt_includeInstance) {
|
|
||||||
return proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject(
|
|
||||||
opt_includeInstance,
|
|
||||||
this
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Static version of the {@see toObject} method.
|
|
||||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
||||||
* the JSPB instance for transitional soy proto support:
|
|
||||||
* http://goto/soy-param-migration
|
|
||||||
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The msg instance to transform.
|
|
||||||
* @return {!Object}
|
|
||||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject = function (
|
|
||||||
includeInstance,
|
|
||||||
msg
|
|
||||||
) {
|
|
||||||
var f,
|
|
||||||
obj = {
|
|
||||||
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
||||||
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
||||||
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
||||||
parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
||||||
nickname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
||||||
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
||||||
};
|
|
||||||
|
|
||||||
if (includeInstance) {
|
|
||||||
obj.$jspbMessageInstance = msg;
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Deserializes binary data (in protobuf wire format).
|
|
||||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinary =
|
|
||||||
function (bytes) {
|
|
||||||
var reader = new jspb.BinaryReader(bytes);
|
|
||||||
var msg = new proto.bet.beteran.api.betting.BettingHistoryModel.Member();
|
|
||||||
return proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader(
|
|
||||||
msg,
|
|
||||||
reader
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Deserializes binary data (in protobuf wire format) from the
|
|
||||||
* given reader into the given message object.
|
|
||||||
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The message object to deserialize into.
|
|
||||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader =
|
|
||||||
function (msg, reader) {
|
|
||||||
while (reader.nextField()) {
|
|
||||||
if (reader.isEndGroup()) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
var field = reader.getFieldNumber();
|
|
||||||
switch (field) {
|
|
||||||
case 1:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setSiteId(value);
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setMemberClassId(value);
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setMemberLevelId(value);
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setParentMemberId(value);
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setNickname(value);
|
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
var value = /** @type {string} */ (reader.readString());
|
|
||||||
msg.setMobilePhoneNumber(value);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
reader.skipField();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return msg;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Serializes the message to binary data (in protobuf wire format).
|
|
||||||
* @return {!Uint8Array}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.serializeBinary =
|
|
||||||
function () {
|
|
||||||
var writer = new jspb.BinaryWriter();
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter(
|
|
||||||
this,
|
|
||||||
writer
|
|
||||||
);
|
|
||||||
return writer.getResultBuffer();
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Serializes the given message to binary data (in protobuf wire
|
|
||||||
* format), writing to the given BinaryWriter.
|
|
||||||
* @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} message
|
|
||||||
* @param {!jspb.BinaryWriter} writer
|
|
||||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter =
|
|
||||||
function (message, writer) {
|
|
||||||
var f = undefined;
|
|
||||||
f = message.getSiteId();
|
|
||||||
if (f.length > 0) {
|
|
||||||
writer.writeString(1, f);
|
|
||||||
}
|
|
||||||
f = message.getMemberClassId();
|
|
||||||
if (f.length > 0) {
|
|
||||||
writer.writeString(2, f);
|
|
||||||
}
|
|
||||||
f = message.getMemberLevelId();
|
|
||||||
if (f.length > 0) {
|
|
||||||
writer.writeString(3, f);
|
|
||||||
}
|
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
||||||
if (f != null) {
|
|
||||||
writer.writeString(4, f);
|
|
||||||
}
|
|
||||||
f = message.getNickname();
|
|
||||||
if (f.length > 0) {
|
|
||||||
writer.writeString(5, f);
|
|
||||||
}
|
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
||||||
if (f != null) {
|
|
||||||
writer.writeString(6, f);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string site_id = 1;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getSiteId =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setSiteId =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setProto3StringField(this, 1, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string member_class_id = 2;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberClassId =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberClassId =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setProto3StringField(this, 2, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string member_level_id = 3;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberLevelId =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberLevelId =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setProto3StringField(this, 3, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string parent_member_id = 4;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getParentMemberId =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setParentMemberId =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setField(this, 4, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Clears the field making it undefined.
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearParentMemberId =
|
|
||||||
function () {
|
|
||||||
return jspb.Message.setField(this, 4, undefined);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns whether this field is set.
|
|
||||||
* @return {boolean}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasParentMemberId =
|
|
||||||
function () {
|
|
||||||
return jspb.Message.getField(this, 4) != null;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string nickname = 5;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getNickname =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setNickname =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setProto3StringField(this, 5, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* optional string mobile_phone_number = 6;
|
|
||||||
* @return {string}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMobilePhoneNumber =
|
|
||||||
function () {
|
|
||||||
return /** @type {string} */ (
|
|
||||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} value
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMobilePhoneNumber =
|
|
||||||
function (value) {
|
|
||||||
return jspb.Message.setField(this, 6, value);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Clears the field making it undefined.
|
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearMobilePhoneNumber =
|
|
||||||
function () {
|
|
||||||
return jspb.Message.setField(this, 6, undefined);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns whether this field is set.
|
|
||||||
* @return {boolean}
|
|
||||||
*/
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasMobilePhoneNumber =
|
|
||||||
function () {
|
|
||||||
return jspb.Message.getField(this, 6) != null;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional string id = 1;
|
* optional string id = 1;
|
||||||
* @return {string}
|
* @return {string}
|
||||||
|
@ -2034,22 +1679,18 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setUtcCreatedAt =
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* optional Member member = 24;
|
* optional bet.beteran.member.MemberModel member = 24;
|
||||||
* @return {?proto.bet.beteran.api.betting.BettingHistoryModel.Member}
|
* @return {?proto.bet.beteran.member.MemberModel}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMember =
|
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMember =
|
||||||
function () {
|
function () {
|
||||||
return /** @type{?proto.bet.beteran.api.betting.BettingHistoryModel.Member} */ (
|
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
|
||||||
jspb.Message.getWrapperField(
|
jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 24)
|
||||||
this,
|
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.Member,
|
|
||||||
24
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {?proto.bet.beteran.api.betting.BettingHistoryModel.Member|undefined} value
|
* @param {?proto.bet.beteran.member.MemberModel|undefined} value
|
||||||
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this
|
* @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMember =
|
proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMember =
|
||||||
|
|
145
src/app/modules/proto/models/member_pb.d.ts
vendored
145
src/app/modules/proto/models/member_pb.d.ts
vendored
|
@ -109,6 +109,145 @@ export namespace Member {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export class ParentMemberModel extends jspb.Message {
|
||||||
|
getId(): string;
|
||||||
|
setId(value: string): void;
|
||||||
|
|
||||||
|
hasSite(): boolean;
|
||||||
|
clearSite(): void;
|
||||||
|
getSite(): models_site_pb.Site | undefined;
|
||||||
|
setSite(value?: models_site_pb.Site): void;
|
||||||
|
|
||||||
|
hasMemberClass(): boolean;
|
||||||
|
clearMemberClass(): void;
|
||||||
|
getMemberClass(): models_member_class_pb.MemberClass | undefined;
|
||||||
|
setMemberClass(value?: models_member_class_pb.MemberClass): void;
|
||||||
|
|
||||||
|
hasMemberLevel(): boolean;
|
||||||
|
clearMemberLevel(): void;
|
||||||
|
getMemberLevel(): models_member_level_pb.MemberLevel | undefined;
|
||||||
|
setMemberLevel(value?: models_member_level_pb.MemberLevel): void;
|
||||||
|
|
||||||
|
hasBankAccount(): boolean;
|
||||||
|
clearBankAccount(): void;
|
||||||
|
getBankAccount():
|
||||||
|
| models_member_bank_account_pb.MemberBankAccountModel
|
||||||
|
| undefined;
|
||||||
|
setBankAccount(
|
||||||
|
value?: models_member_bank_account_pb.MemberBankAccountModel
|
||||||
|
): void;
|
||||||
|
|
||||||
|
hasParentMemberId(): boolean;
|
||||||
|
clearParentMemberId(): void;
|
||||||
|
getParentMemberId(): string;
|
||||||
|
setParentMemberId(value: string): void;
|
||||||
|
|
||||||
|
getChildMemberCount(): number;
|
||||||
|
setChildMemberCount(value: number): void;
|
||||||
|
|
||||||
|
getUsername(): string;
|
||||||
|
setUsername(value: string): void;
|
||||||
|
|
||||||
|
getNickname(): string;
|
||||||
|
setNickname(value: string): void;
|
||||||
|
|
||||||
|
hasMobilePhoneNumber(): boolean;
|
||||||
|
clearMobilePhoneNumber(): void;
|
||||||
|
getMobilePhoneNumber(): string;
|
||||||
|
setMobilePhoneNumber(value: string): void;
|
||||||
|
|
||||||
|
getState(): MemberStateMap[keyof MemberStateMap];
|
||||||
|
setState(value: MemberStateMap[keyof MemberStateMap]): void;
|
||||||
|
|
||||||
|
hasStateChangedAt(): boolean;
|
||||||
|
clearStateChangedAt(): void;
|
||||||
|
getStateChangedAt(): number;
|
||||||
|
setStateChangedAt(value: number): void;
|
||||||
|
|
||||||
|
hasMemberGameSetting(): boolean;
|
||||||
|
clearMemberGameSetting(): void;
|
||||||
|
getMemberGameSetting():
|
||||||
|
| models_member_game_setting_pb.MemberGameSetting
|
||||||
|
| undefined;
|
||||||
|
setMemberGameSetting(
|
||||||
|
value?: models_member_game_setting_pb.MemberGameSetting
|
||||||
|
): void;
|
||||||
|
|
||||||
|
hasMemberSettlementSetting(): boolean;
|
||||||
|
clearMemberSettlementSetting(): void;
|
||||||
|
getMemberSettlementSetting():
|
||||||
|
| models_member_settlement_setting_pb.MemberSettlementSetting
|
||||||
|
| undefined;
|
||||||
|
setMemberSettlementSetting(
|
||||||
|
value?: models_member_settlement_setting_pb.MemberSettlementSetting
|
||||||
|
): void;
|
||||||
|
|
||||||
|
hasLastSigninedIp(): boolean;
|
||||||
|
clearLastSigninedIp(): void;
|
||||||
|
getLastSigninedIp(): string;
|
||||||
|
setLastSigninedIp(value: string): void;
|
||||||
|
|
||||||
|
hasLastSigninedAt(): boolean;
|
||||||
|
clearLastSigninedAt(): void;
|
||||||
|
getLastSigninedAt(): number;
|
||||||
|
setLastSigninedAt(value: number): void;
|
||||||
|
|
||||||
|
getCreatedAt(): number;
|
||||||
|
setCreatedAt(value: number): void;
|
||||||
|
|
||||||
|
getUpdatedAt(): number;
|
||||||
|
setUpdatedAt(value: number): void;
|
||||||
|
|
||||||
|
hasDeletedAt(): boolean;
|
||||||
|
clearDeletedAt(): void;
|
||||||
|
getDeletedAt(): number;
|
||||||
|
setDeletedAt(value: number): void;
|
||||||
|
|
||||||
|
serializeBinary(): Uint8Array;
|
||||||
|
toObject(includeInstance?: boolean): ParentMemberModel.AsObject;
|
||||||
|
static toObject(
|
||||||
|
includeInstance: boolean,
|
||||||
|
msg: ParentMemberModel
|
||||||
|
): ParentMemberModel.AsObject;
|
||||||
|
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||||
|
static extensionsBinary: {
|
||||||
|
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||||
|
};
|
||||||
|
static serializeBinaryToWriter(
|
||||||
|
message: ParentMemberModel,
|
||||||
|
writer: jspb.BinaryWriter
|
||||||
|
): void;
|
||||||
|
static deserializeBinary(bytes: Uint8Array): ParentMemberModel;
|
||||||
|
static deserializeBinaryFromReader(
|
||||||
|
message: ParentMemberModel,
|
||||||
|
reader: jspb.BinaryReader
|
||||||
|
): ParentMemberModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
export namespace ParentMemberModel {
|
||||||
|
export type AsObject = {
|
||||||
|
id: string;
|
||||||
|
site?: models_site_pb.Site.AsObject;
|
||||||
|
memberClass?: models_member_class_pb.MemberClass.AsObject;
|
||||||
|
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
|
||||||
|
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
|
||||||
|
parentMemberId: string;
|
||||||
|
childMemberCount: number;
|
||||||
|
username: string;
|
||||||
|
nickname: string;
|
||||||
|
mobilePhoneNumber: string;
|
||||||
|
state: MemberStateMap[keyof MemberStateMap];
|
||||||
|
stateChangedAt: number;
|
||||||
|
memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject;
|
||||||
|
memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject;
|
||||||
|
lastSigninedIp: string;
|
||||||
|
lastSigninedAt: number;
|
||||||
|
createdAt: number;
|
||||||
|
updatedAt: number;
|
||||||
|
deletedAt: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export class MemberModel extends jspb.Message {
|
export class MemberModel extends jspb.Message {
|
||||||
getId(): string;
|
getId(): string;
|
||||||
setId(value: string): void;
|
setId(value: string): void;
|
||||||
|
@ -139,8 +278,8 @@ export class MemberModel extends jspb.Message {
|
||||||
|
|
||||||
hasParentMember(): boolean;
|
hasParentMember(): boolean;
|
||||||
clearParentMember(): void;
|
clearParentMember(): void;
|
||||||
getParentMember(): Member | undefined;
|
getParentMember(): ParentMemberModel | undefined;
|
||||||
setParentMember(value?: Member): void;
|
setParentMember(value?: ParentMemberModel): void;
|
||||||
|
|
||||||
getChildMemberCount(): number;
|
getChildMemberCount(): number;
|
||||||
setChildMemberCount(value: number): void;
|
setChildMemberCount(value: number): void;
|
||||||
|
@ -231,7 +370,7 @@ export namespace MemberModel {
|
||||||
memberClass?: models_member_class_pb.MemberClass.AsObject;
|
memberClass?: models_member_class_pb.MemberClass.AsObject;
|
||||||
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
|
memberLevel?: models_member_level_pb.MemberLevel.AsObject;
|
||||||
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
|
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
|
||||||
parentMember?: Member.AsObject;
|
parentMember?: ParentMemberModel.AsObject;
|
||||||
childMemberCount: number;
|
childMemberCount: number;
|
||||||
username: string;
|
username: string;
|
||||||
nickname: string;
|
nickname: string;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user