member model is modified

This commit is contained in:
병준 박 2022-09-16 10:28:42 +00:00
parent ac8901f5d8
commit a3be97f8ac
2 changed files with 192 additions and 114 deletions

View File

@ -145,6 +145,11 @@ export class MemberModel extends jspb.Message {
getChildMemberCount(): number; getChildMemberCount(): number;
setChildMemberCount(value: number): void; setChildMemberCount(value: number): void;
clearChildrenCountList(): void;
getChildrenCountList(): Array<number>;
setChildrenCountList(value: Array<number>): void;
addChildrenCount(value: number, index?: number): number;
getUsername(): string; getUsername(): string;
setUsername(value: string): void; setUsername(value: string): void;
@ -233,6 +238,7 @@ export namespace MemberModel {
bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject; bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject;
parentMember?: MemberModel.AsObject; parentMember?: MemberModel.AsObject;
childMemberCount: number; childMemberCount: number;
childrenCountList: Array<number>;
username: string; username: string;
nickname: string; nickname: string;
mobilePhoneNumber: string; mobilePhoneNumber: string;

View File

@ -65,7 +65,14 @@ if (goog.DEBUG && !COMPILED) {
* @constructor * @constructor
*/ */
proto.bet.beteran.member.MemberModel = function (opt_data) { proto.bet.beteran.member.MemberModel = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null); jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.bet.beteran.member.MemberModel.repeatedFields_,
null
);
}; };
goog.inherits(proto.bet.beteran.member.MemberModel, jspb.Message); goog.inherits(proto.bet.beteran.member.MemberModel, jspb.Message);
if (goog.DEBUG && !COMPILED) { if (goog.DEBUG && !COMPILED) {
@ -684,6 +691,13 @@ proto.bet.beteran.member.Member.prototype.hasDeletedAt = function () {
return jspb.Message.getField(this, 16) != null; return jspb.Message.getField(this, 16) != null;
}; };
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bet.beteran.member.MemberModel.repeatedFields_ = [8];
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.
@ -741,11 +755,13 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
(f = msg.getParentMember()) && (f = msg.getParentMember()) &&
proto.bet.beteran.member.MemberModel.toObject(includeInstance, f), proto.bet.beteran.member.MemberModel.toObject(includeInstance, f),
childMemberCount: jspb.Message.getFieldWithDefault(msg, 7, 0), childMemberCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
username: jspb.Message.getFieldWithDefault(msg, 8, ""), childrenCountList:
nickname: jspb.Message.getFieldWithDefault(msg, 9, ""), (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 10, ""), username: jspb.Message.getFieldWithDefault(msg, 9, ""),
state: jspb.Message.getFieldWithDefault(msg, 11, 0), nickname: jspb.Message.getFieldWithDefault(msg, 10, ""),
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 12, 0), mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 11, ""),
state: jspb.Message.getFieldWithDefault(msg, 12, 0),
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 13, 0),
memberGameSetting: memberGameSetting:
(f = msg.getMemberGameSetting()) && (f = msg.getMemberGameSetting()) &&
models_member_game_setting_pb.MemberGameSetting.toObject( models_member_game_setting_pb.MemberGameSetting.toObject(
@ -758,11 +774,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
includeInstance, includeInstance,
f f
), ),
lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 15, ""), lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 16, ""),
lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 17, 0),
createdAt: jspb.Message.getFieldWithDefault(msg, 17, 0), createdAt: jspb.Message.getFieldWithDefault(msg, 18, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 18, 0), updatedAt: jspb.Message.getFieldWithDefault(msg, 19, 0),
deletedAt: jspb.Message.getFieldWithDefault(msg, 19, 0), deletedAt: jspb.Message.getFieldWithDefault(msg, 20, 0),
}; };
if (includeInstance) { if (includeInstance) {
@ -853,28 +869,38 @@ proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function (
msg.setChildMemberCount(value); msg.setChildMemberCount(value);
break; break;
case 8: case 8:
var value = /** @type {string} */ (reader.readString()); var values = /** @type {!Array<number>} */ (
msg.setUsername(value); reader.isDelimited()
? reader.readPackedUint64()
: [reader.readUint64()]
);
for (var i = 0; i < values.length; i++) {
msg.addChildrenCount(values[i]);
}
break; break;
case 9: case 9:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setNickname(value); msg.setUsername(value);
break; break;
case 10: case 10:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumber(value); msg.setNickname(value);
break; break;
case 11: case 11:
var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumber(value);
break;
case 12:
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 12: case 13:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setStateChangedAt(value); msg.setStateChangedAt(value);
break; break;
case 13: case 14:
var value = new models_member_game_setting_pb.MemberGameSetting(); var value = new models_member_game_setting_pb.MemberGameSetting();
reader.readMessage( reader.readMessage(
value, value,
@ -883,7 +909,7 @@ proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function (
); );
msg.setMemberGameSetting(value); msg.setMemberGameSetting(value);
break; break;
case 14: case 15:
var value = var value =
new models_member_settlement_setting_pb.MemberSettlementSetting(); new models_member_settlement_setting_pb.MemberSettlementSetting();
reader.readMessage( reader.readMessage(
@ -893,23 +919,23 @@ proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function (
); );
msg.setMemberSettlementSetting(value); msg.setMemberSettlementSetting(value);
break; break;
case 15: case 16:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setLastSigninedIp(value); msg.setLastSigninedIp(value);
break; break;
case 16: case 17:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setLastSigninedAt(value); msg.setLastSigninedAt(value);
break; break;
case 17: case 18:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value); msg.setCreatedAt(value);
break; break;
case 18: case 19:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value); msg.setUpdatedAt(value);
break; break;
case 19: case 20:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setDeletedAt(value); msg.setDeletedAt(value);
break; break;
@ -988,30 +1014,34 @@ proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function (
if (f !== 0) { if (f !== 0) {
writer.writeUint64(7, f); writer.writeUint64(7, f);
} }
f = message.getUsername(); f = message.getChildrenCountList();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(8, f); writer.writePackedUint64(8, f);
} }
f = message.getNickname(); f = message.getUsername();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(9, f); writer.writeString(9, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 10)); f = message.getNickname();
if (f != null) { if (f.length > 0) {
writer.writeString(10, f); writer.writeString(10, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 11));
if (f != null) {
writer.writeString(11, f);
}
f = message.getState(); f = message.getState();
if (f !== 0.0) { if (f !== 0.0) {
writer.writeEnum(11, f); writer.writeEnum(12, f);
} }
f = /** @type {number} */ (jspb.Message.getField(message, 12)); f = /** @type {number} */ (jspb.Message.getField(message, 13));
if (f != null) { if (f != null) {
writer.writeUint64(12, f); writer.writeUint64(13, f);
} }
f = message.getMemberGameSetting(); f = message.getMemberGameSetting();
if (f != null) { if (f != null) {
writer.writeMessage( writer.writeMessage(
13, 14,
f, f,
models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter
); );
@ -1019,32 +1049,32 @@ proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function (
f = message.getMemberSettlementSetting(); f = message.getMemberSettlementSetting();
if (f != null) { if (f != null) {
writer.writeMessage( writer.writeMessage(
14, 15,
f, f,
models_member_settlement_setting_pb.MemberSettlementSetting models_member_settlement_setting_pb.MemberSettlementSetting
.serializeBinaryToWriter .serializeBinaryToWriter
); );
} }
f = /** @type {string} */ (jspb.Message.getField(message, 15)); f = /** @type {string} */ (jspb.Message.getField(message, 16));
if (f != null) { if (f != null) {
writer.writeString(15, f); writer.writeString(16, f);
} }
f = /** @type {number} */ (jspb.Message.getField(message, 16)); f = /** @type {number} */ (jspb.Message.getField(message, 17));
if (f != null) { if (f != null) {
writer.writeUint64(16, f); writer.writeUint64(17, f);
} }
f = message.getCreatedAt(); f = message.getCreatedAt();
if (f !== 0) { if (f !== 0) {
writer.writeUint64(17, f); writer.writeUint64(18, f);
} }
f = message.getUpdatedAt(); f = message.getUpdatedAt();
if (f !== 0) { if (f !== 0) {
writer.writeUint64(18, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 19));
if (f != null) {
writer.writeUint64(19, f); writer.writeUint64(19, f);
} }
f = /** @type {number} */ (jspb.Message.getField(message, 20));
if (f != null) {
writer.writeUint64(20, f);
}
}; };
/** /**
@ -1265,26 +1295,52 @@ proto.bet.beteran.member.MemberModel.prototype.setChildMemberCount = function (
}; };
/** /**
* optional string username = 8; * repeated uint64 children_count = 8;
* @return {!Array<number>}
*/
proto.bet.beteran.member.MemberModel.prototype.getChildrenCountList =
function () {
return /** @type {!Array<number>} */ (
jspb.Message.getRepeatedField(this, 8)
);
};
/**
* @param {!Array<number>} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setChildrenCountList = function (
value
) {
return jspb.Message.setField(this, 8, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.addChildrenCount = function (
value,
opt_index
) {
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.clearChildrenCountList =
function () {
return this.setChildrenCountList([]);
};
/**
* optional string username = 9;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getUsername = function () { proto.bet.beteran.member.MemberModel.prototype.getUsername = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setUsername = function (value) {
return jspb.Message.setProto3StringField(this, 8, value);
};
/**
* optional string nickname = 9;
* @return {string}
*/
proto.bet.beteran.member.MemberModel.prototype.getNickname = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
}; };
@ -1292,18 +1348,34 @@ proto.bet.beteran.member.MemberModel.prototype.getNickname = function () {
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.setNickname = function (value) { proto.bet.beteran.member.MemberModel.prototype.setUsername = function (value) {
return jspb.Message.setProto3StringField(this, 9, value); return jspb.Message.setProto3StringField(this, 9, value);
}; };
/** /**
* optional string mobile_phone_number = 10; * optional string nickname = 10;
* @return {string}
*/
proto.bet.beteran.member.MemberModel.prototype.getNickname = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setNickname = function (value) {
return jspb.Message.setProto3StringField(this, 10, value);
};
/**
* optional string mobile_phone_number = 11;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getMobilePhoneNumber = proto.bet.beteran.member.MemberModel.prototype.getMobilePhoneNumber =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 10, "") jspb.Message.getFieldWithDefault(this, 11, "")
); );
}; };
@ -1314,7 +1386,7 @@ proto.bet.beteran.member.MemberModel.prototype.getMobilePhoneNumber =
proto.bet.beteran.member.MemberModel.prototype.setMobilePhoneNumber = function ( proto.bet.beteran.member.MemberModel.prototype.setMobilePhoneNumber = function (
value value
) { ) {
return jspb.Message.setField(this, 10, value); return jspb.Message.setField(this, 11, value);
}; };
/** /**
@ -1323,7 +1395,7 @@ proto.bet.beteran.member.MemberModel.prototype.setMobilePhoneNumber = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearMobilePhoneNumber = proto.bet.beteran.member.MemberModel.prototype.clearMobilePhoneNumber =
function () { function () {
return jspb.Message.setField(this, 10, undefined); return jspb.Message.setField(this, 11, undefined);
}; };
/** /**
@ -1332,16 +1404,16 @@ proto.bet.beteran.member.MemberModel.prototype.clearMobilePhoneNumber =
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasMobilePhoneNumber = proto.bet.beteran.member.MemberModel.prototype.hasMobilePhoneNumber =
function () { function () {
return jspb.Message.getField(this, 10) != null; return jspb.Message.getField(this, 11) != null;
}; };
/** /**
* optional MemberState state = 11; * optional MemberState state = 12;
* @return {!proto.bet.beteran.member.MemberState} * @return {!proto.bet.beteran.member.MemberState}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getState = function () { proto.bet.beteran.member.MemberModel.prototype.getState = function () {
return /** @type {!proto.bet.beteran.member.MemberState} */ ( return /** @type {!proto.bet.beteran.member.MemberState} */ (
jspb.Message.getFieldWithDefault(this, 11, 0) jspb.Message.getFieldWithDefault(this, 12, 0)
); );
}; };
@ -1350,15 +1422,15 @@ proto.bet.beteran.member.MemberModel.prototype.getState = function () {
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.setState = function (value) { proto.bet.beteran.member.MemberModel.prototype.setState = function (value) {
return jspb.Message.setProto3EnumField(this, 11, value); return jspb.Message.setProto3EnumField(this, 12, value);
}; };
/** /**
* optional uint64 state_changed_at = 12; * optional uint64 state_changed_at = 13;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getStateChangedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getStateChangedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
}; };
/** /**
@ -1368,7 +1440,7 @@ proto.bet.beteran.member.MemberModel.prototype.getStateChangedAt = function () {
proto.bet.beteran.member.MemberModel.prototype.setStateChangedAt = function ( proto.bet.beteran.member.MemberModel.prototype.setStateChangedAt = function (
value value
) { ) {
return jspb.Message.setField(this, 12, value); return jspb.Message.setField(this, 13, value);
}; };
/** /**
@ -1377,7 +1449,7 @@ proto.bet.beteran.member.MemberModel.prototype.setStateChangedAt = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearStateChangedAt = proto.bet.beteran.member.MemberModel.prototype.clearStateChangedAt =
function () { function () {
return jspb.Message.setField(this, 12, undefined); return jspb.Message.setField(this, 13, undefined);
}; };
/** /**
@ -1385,11 +1457,11 @@ proto.bet.beteran.member.MemberModel.prototype.clearStateChangedAt =
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function () { proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function () {
return jspb.Message.getField(this, 12) != null; return jspb.Message.getField(this, 13) != null;
}; };
/** /**
* optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 13; * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 14;
* @return {?proto.bet.beteran.member_game_setting.MemberGameSetting} * @return {?proto.bet.beteran.member_game_setting.MemberGameSetting}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting = proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting =
@ -1398,7 +1470,7 @@ proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting =
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
models_member_game_setting_pb.MemberGameSetting, models_member_game_setting_pb.MemberGameSetting,
13 14
) )
); );
}; };
@ -1410,7 +1482,7 @@ proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting =
proto.bet.beteran.member.MemberModel.prototype.setMemberGameSetting = function ( proto.bet.beteran.member.MemberModel.prototype.setMemberGameSetting = function (
value value
) { ) {
return jspb.Message.setWrapperField(this, 13, value); return jspb.Message.setWrapperField(this, 14, value);
}; };
/** /**
@ -1428,11 +1500,11 @@ proto.bet.beteran.member.MemberModel.prototype.clearMemberGameSetting =
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasMemberGameSetting = proto.bet.beteran.member.MemberModel.prototype.hasMemberGameSetting =
function () { function () {
return jspb.Message.getField(this, 13) != null; return jspb.Message.getField(this, 14) != null;
}; };
/** /**
* optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 14; * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 15;
* @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting = proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting =
@ -1441,7 +1513,7 @@ proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting =
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
models_member_settlement_setting_pb.MemberSettlementSetting, models_member_settlement_setting_pb.MemberSettlementSetting,
14 15
) )
); );
}; };
@ -1452,7 +1524,7 @@ proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting =
*/ */
proto.bet.beteran.member.MemberModel.prototype.setMemberSettlementSetting = proto.bet.beteran.member.MemberModel.prototype.setMemberSettlementSetting =
function (value) { function (value) {
return jspb.Message.setWrapperField(this, 14, value); return jspb.Message.setWrapperField(this, 15, value);
}; };
/** /**
@ -1470,15 +1542,15 @@ proto.bet.beteran.member.MemberModel.prototype.clearMemberSettlementSetting =
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasMemberSettlementSetting = proto.bet.beteran.member.MemberModel.prototype.hasMemberSettlementSetting =
function () { function () {
return jspb.Message.getField(this, 14) != null; return jspb.Message.getField(this, 15) != null;
}; };
/** /**
* optional string last_signined_ip = 15; * optional string last_signined_ip = 16;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () { proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, "")); return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
}; };
/** /**
@ -1488,7 +1560,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () {
proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function ( proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function (
value value
) { ) {
return jspb.Message.setField(this, 15, value); return jspb.Message.setField(this, 16, value);
}; };
/** /**
@ -1497,7 +1569,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp =
function () { function () {
return jspb.Message.setField(this, 15, undefined); return jspb.Message.setField(this, 16, undefined);
}; };
/** /**
@ -1505,15 +1577,15 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp =
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () { proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () {
return jspb.Message.getField(this, 15) != null; return jspb.Message.getField(this, 16) != null;
}; };
/** /**
* optional uint64 last_signined_at = 16; * optional uint64 last_signined_at = 17;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
}; };
/** /**
@ -1523,7 +1595,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () {
proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function ( proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function (
value value
) { ) {
return jspb.Message.setField(this, 16, value); return jspb.Message.setField(this, 17, value);
}; };
/** /**
@ -1532,7 +1604,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function (
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt =
function () { function () {
return jspb.Message.setField(this, 16, undefined); return jspb.Message.setField(this, 17, undefined);
}; };
/** /**
@ -1540,30 +1612,14 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt =
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () { proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () {
return jspb.Message.getField(this, 16) != null; return jspb.Message.getField(this, 17) != null;
}; };
/** /**
* optional uint64 created_at = 17; * optional uint64 created_at = 18;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 17, value);
};
/**
* optional uint64 updated_at = 18;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
}; };
@ -1571,24 +1627,40 @@ proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () {
* @param {number} value * @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) { proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 18, value); return jspb.Message.setProto3IntField(this, 18, value);
}; };
/** /**
* optional uint64 deleted_at = 19; * optional uint64 updated_at = 19;
* @return {number} * @return {number}
*/ */
proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () { proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
}; };
/**
* @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this
*/
proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 19, value);
};
/**
* optional uint64 deleted_at = 20;
* @return {number}
*/
proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
};
/** /**
* @param {number} value * @param {number} value
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) { proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) {
return jspb.Message.setField(this, 19, value); return jspb.Message.setField(this, 20, value);
}; };
/** /**
@ -1596,7 +1668,7 @@ proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) {
* @return {!proto.bet.beteran.member.MemberModel} returns this * @return {!proto.bet.beteran.member.MemberModel} returns this
*/ */
proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () { proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () {
return jspb.Message.setField(this, 19, undefined); return jspb.Message.setField(this, 20, undefined);
}; };
/** /**
@ -1604,7 +1676,7 @@ proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () {
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () { proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () {
return jspb.Message.getField(this, 19) != null; return jspb.Message.getField(this, 20) != null;
}; };
/** /**