From aed44eeba07c9c8b46b805a9609a9c750320b599 Mon Sep 17 00:00:00 2001 From: biao <zb182838> Date: Sat, 22 Feb 2020 16:44:47 +0800 Subject: [PATCH] 1 --- doc/DB/compass_db_schema.txt | 17 ++++++++++++++--- src/cn/compass/entity/AccountMst.inc | 4 ++-- src/cn/compass/entity/CertificateMst.inc | 2 +- src/cn/compass/entity/CircleDat.inc | 2 +- src/cn/compass/entity/CircleMemberDat.inc | 5 ++++- src/cn/compass/entity/ClassMst.inc | 2 +- src/cn/compass/entity/CourseCategoryDat.inc | 2 +- src/cn/compass/entity/CourseMediaDat.inc | 4 ++-- src/cn/compass/entity/CourseMst.inc | 6 +++--- src/cn/compass/entity/FamilyEventDat.inc | 2 +- src/cn/compass/entity/FamilyEventMemberDat.inc | 2 +- src/cn/compass/entity/GovernmentMst.inc | 2 +- src/cn/compass/entity/GovernmentQrDat.inc | 2 +- src/cn/compass/entity/GradeMst.inc | 2 +- src/cn/compass/entity/MediaTagDat.inc | 2 +- src/cn/compass/entity/SchoolMst.inc | 2 +- src/cn/compass/entity/SocialEventDat.inc | 2 +- src/cn/compass/entity/SocialEventMemberDat.inc | 2 +- src/cn/compass/entity/SystemConstantDat.inc | 2 +- src/cn/compass/entity/UserCertificateDat.inc | 2 +- src/cn/compass/entity/UserMediaDat.inc | 2 +- src/cn/compass/entity/UserMessageDat.inc | 2 +- src/cn/compass/entity/UserMst.inc | 4 ++-- src/cn/compass/entity/UserPointLog.inc | 2 +- src/cn/compass/entity/VolunteerEventDat.inc | 52 +++++++++++++++++++++++++++++++++++----------------- src/cn/compass/entity/VolunteerEventMemberDat.inc | 17 ++++++++++++++++- 26 files changed, 96 insertions(+), 49 deletions(-) diff --git a/doc/DB/compass_db_schema.txt b/doc/DB/compass_db_schema.txt index eb66454..8291e35 100644 --- a/doc/DB/compass_db_schema.txt +++ b/doc/DB/compass_db_schema.txt @@ -197,9 +197,9 @@ CREATE TABLE IF NOT EXISTS user_mst( mobile varchar(32), account_id int8 NOT NULL DEFAULT '0', child_age int8 NOT NULL DEFAULT '1', - role varchar(128) NOT NULL DEFAULT '0', + role int8 NOT NULL DEFAULT '0', school_owner tinyint(1) NOT NULL DEFAULT '0', - class_owner tinyint(1) NOT NULL DEFAULT '0' + class_owner tinyint(1) NOT NULL DEFAULT '0', longitude text, latitude text, government_id int8 NOT NULL DEFAULT '0', @@ -340,7 +340,13 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat( position text NOT NULL, position_longitude text NOT NULL, position_latitude text NOT NULL, - scope int8 NOT NULL, + author varchar(64) NOT NULL, + author_role int8 NOT NULL DEFAULT '0', + school_id int8 NOT NULL DEFAULT '0', + province varchar(64), + city varchar(64), + district varchar(64), + include_social_user tinyint(1) NOT NULL DEFAULT '0', max_member int8 NOT NULL DEFAULT '0', time_length varchar(64) NOT NULL, leader_name varchar(64) NOT NULL, @@ -360,12 +366,17 @@ CREATE TABLE IF NOT EXISTS volunteer_event_member_dat( id bigint unsigned NOT NULL PRIMARY KEY auto_increment, registration_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, volunteer_event_id int8 NOT NULL, + index_no varchar(5) NOT NULL, user_id int8 NOT NULL, + circle_id int8 NOT NULL DEFAULT '0', + mobile varchar(32) NOT NULL, comment text NOT NULL, images text NOT NULL, position text NOT NULL, position_longitude text NOT NULL, position_latitude text NOT NULL, + role int8 NOT NULL DEFAULT '0', + finish_time timestamp NOT NULL, status varchar(64) NOT NULL DEFAULT 'NEW', delete_flg tinyint(1) NOT NULL DEFAULT '0' ) ENGINE = INNODB DEFAULT CHARSET=utf8mb4; diff --git a/src/cn/compass/entity/AccountMst.inc b/src/cn/compass/entity/AccountMst.inc index f6ebef8..39a0682 100644 --- a/src/cn/compass/entity/AccountMst.inc +++ b/src/cn/compass/entity/AccountMst.inc @@ -1,8 +1,8 @@ <?php /** * AccountMst Entity - * $Id: AccountMst.inc,v 1.1 2020/2/13 10:54:23 Exp $ - * @author lixq + * $Id: AccountMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ + * @author zb * @package jp.compass.entity * @access public */ diff --git a/src/cn/compass/entity/CertificateMst.inc b/src/cn/compass/entity/CertificateMst.inc index 8c1e096..ef6f3e7 100644 --- a/src/cn/compass/entity/CertificateMst.inc +++ b/src/cn/compass/entity/CertificateMst.inc @@ -1,7 +1,7 @@ <?php /** * CertificateMst Entity - * $Id: CertificateMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CertificateMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/CircleDat.inc b/src/cn/compass/entity/CircleDat.inc index 23c9500..7e77751 100644 --- a/src/cn/compass/entity/CircleDat.inc +++ b/src/cn/compass/entity/CircleDat.inc @@ -1,7 +1,7 @@ <?php /** * CircleDat Entity - * $Id: CircleDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CircleDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/CircleMemberDat.inc b/src/cn/compass/entity/CircleMemberDat.inc index aafa185..855adcf 100644 --- a/src/cn/compass/entity/CircleMemberDat.inc +++ b/src/cn/compass/entity/CircleMemberDat.inc @@ -1,7 +1,7 @@ <?php /** * CircleMemberDat Entity - * $Id: CircleMemberDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CircleMemberDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -10,6 +10,7 @@ class CircleMemberDat extends CompassDynamicData { var $circle_id; var $user_id; + var $name; var $delete_flg; /** @@ -24,6 +25,7 @@ class CircleMemberDat extends CompassDynamicData $this->circle_id = $record["circle_id"]; $this->user_id = $record["user_id"]; + $this->name = $record["name"]; $this->delete_flg = $record["delete_flg"]; } @@ -90,6 +92,7 @@ class CircleMemberDat extends CompassDynamicData ParamUtil::copyObj2Array($v_param, $this, "circle_id"); ParamUtil::copyObj2Array($v_param, $this, "user_id"); + ParamUtil::copyObj2ArrayNullField($v_param, $this, "name"); ParamUtil::copyObj2Array($v_param, $this, "delete_flg"); // 保存 diff --git a/src/cn/compass/entity/ClassMst.inc b/src/cn/compass/entity/ClassMst.inc index a340f9e..8bf820f 100644 --- a/src/cn/compass/entity/ClassMst.inc +++ b/src/cn/compass/entity/ClassMst.inc @@ -1,7 +1,7 @@ <?php /** * ClassMst Entity - * $Id: ClassMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: ClassMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/CourseCategoryDat.inc b/src/cn/compass/entity/CourseCategoryDat.inc index 944371b..9297159 100644 --- a/src/cn/compass/entity/CourseCategoryDat.inc +++ b/src/cn/compass/entity/CourseCategoryDat.inc @@ -1,7 +1,7 @@ <?php /** * CourseCategoryDat Entity - * $Id: CourseCategoryDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CourseCategoryDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/CourseMediaDat.inc b/src/cn/compass/entity/CourseMediaDat.inc index 5fb0da3..2b27e38 100644 --- a/src/cn/compass/entity/CourseMediaDat.inc +++ b/src/cn/compass/entity/CourseMediaDat.inc @@ -1,7 +1,7 @@ <?php /** * CourseMediaDat Entity - * $Id: CourseMediaDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CourseMediaDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -35,7 +35,7 @@ class CourseMediaDat extends CompassDynamicData $this->tags = $record["tags"]; $this->front_image = $record["front_image"]; $this->media = $record["media"]; - $this->size = $record["size"]; + $this->size = $record["size"]; $this->teacher = $record["teacher"]; $this->is_free = $record["is_free"]; $this->price = $record["price"]; diff --git a/src/cn/compass/entity/CourseMst.inc b/src/cn/compass/entity/CourseMst.inc index c3e8a45..edaf2eb 100644 --- a/src/cn/compass/entity/CourseMst.inc +++ b/src/cn/compass/entity/CourseMst.inc @@ -1,7 +1,7 @@ <?php /** * CourseMst Entity - * $Id: CourseMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: CourseMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -31,9 +31,9 @@ class CourseMst extends CompassDynamicData $this->sub_category_id = $record["sub_category_id"]; $this->title = $record["title"]; $this->front_image = $record["front_image"]; - $this->teacher_name = $record["teacher_name"]; + $this->teacher_name = $record["teacher_name"]; $this->teacher_profile = $record["teacher_profile"]; - $this->media_count = $record["media_count"]; + $this->media_count = $record["media_count"]; $this->delete_flg = $record["delete_flg"]; } diff --git a/src/cn/compass/entity/FamilyEventDat.inc b/src/cn/compass/entity/FamilyEventDat.inc index dfd542f..ff055c6 100644 --- a/src/cn/compass/entity/FamilyEventDat.inc +++ b/src/cn/compass/entity/FamilyEventDat.inc @@ -1,7 +1,7 @@ <?php /** * FamilyEventDat Entity - * $Id: FamilyEventDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: FamilyEventDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/FamilyEventMemberDat.inc b/src/cn/compass/entity/FamilyEventMemberDat.inc index 42f9bd8..13b8b5b 100644 --- a/src/cn/compass/entity/FamilyEventMemberDat.inc +++ b/src/cn/compass/entity/FamilyEventMemberDat.inc @@ -1,7 +1,7 @@ <?php /** * FamilyEventMemberDat Entity - * $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/GovernmentMst.inc b/src/cn/compass/entity/GovernmentMst.inc index d6dae66..4177c21 100644 --- a/src/cn/compass/entity/GovernmentMst.inc +++ b/src/cn/compass/entity/GovernmentMst.inc @@ -1,7 +1,7 @@ <?php /** * GovernmentMst Entity - * $Id: GovernmentMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: GovernmentMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/GovernmentQrDat.inc b/src/cn/compass/entity/GovernmentQrDat.inc index f305213..cff4de7 100644 --- a/src/cn/compass/entity/GovernmentQrDat.inc +++ b/src/cn/compass/entity/GovernmentQrDat.inc @@ -1,7 +1,7 @@ <?php /** * GovernmentQrDat Entity - * $Id: GovernmentQrDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: GovernmentQrDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/GradeMst.inc b/src/cn/compass/entity/GradeMst.inc index 90a42ca..731042b 100644 --- a/src/cn/compass/entity/GradeMst.inc +++ b/src/cn/compass/entity/GradeMst.inc @@ -1,7 +1,7 @@ <?php /** * GradeMst Entity - * $Id: GradeMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: GradeMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/MediaTagDat.inc b/src/cn/compass/entity/MediaTagDat.inc index 1453a99..29384eb 100644 --- a/src/cn/compass/entity/MediaTagDat.inc +++ b/src/cn/compass/entity/MediaTagDat.inc @@ -1,7 +1,7 @@ <?php /** * MediaTagDat Entity - * $Id: MediaTagDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: MediaTagDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/SchoolMst.inc b/src/cn/compass/entity/SchoolMst.inc index d76fe0f..3475d08 100644 --- a/src/cn/compass/entity/SchoolMst.inc +++ b/src/cn/compass/entity/SchoolMst.inc @@ -1,7 +1,7 @@ <?php /** * SchoolMst Entity - * $Id: SchoolMst.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: SchoolMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/SocialEventDat.inc b/src/cn/compass/entity/SocialEventDat.inc index 0b580a0..ec5582d 100644 --- a/src/cn/compass/entity/SocialEventDat.inc +++ b/src/cn/compass/entity/SocialEventDat.inc @@ -1,7 +1,7 @@ <?php /** * SocialEventDat Entity - * $Id: SocialEventDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: SocialEventDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/SocialEventMemberDat.inc b/src/cn/compass/entity/SocialEventMemberDat.inc index 54aff4b..5565967 100644 --- a/src/cn/compass/entity/SocialEventMemberDat.inc +++ b/src/cn/compass/entity/SocialEventMemberDat.inc @@ -1,7 +1,7 @@ <?php /** * SocialEventMemberDat Entity - * $Id: SocialEventMemberDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: SocialEventMemberDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/SystemConstantDat.inc b/src/cn/compass/entity/SystemConstantDat.inc index cb048d1..43843cb 100644 --- a/src/cn/compass/entity/SystemConstantDat.inc +++ b/src/cn/compass/entity/SystemConstantDat.inc @@ -1,7 +1,7 @@ <?php /** * SystemConstantDat Entity - * $Id: SystemConstantDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: SystemConstantDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/UserCertificateDat.inc b/src/cn/compass/entity/UserCertificateDat.inc index 8716f40..f4a56a3 100644 --- a/src/cn/compass/entity/UserCertificateDat.inc +++ b/src/cn/compass/entity/UserCertificateDat.inc @@ -1,7 +1,7 @@ <?php /** * UserCertificateDat Entity - * $Id: UserCertificateDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: UserCertificateDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/UserMediaDat.inc b/src/cn/compass/entity/UserMediaDat.inc index 4dc7869..efc8245 100644 --- a/src/cn/compass/entity/UserMediaDat.inc +++ b/src/cn/compass/entity/UserMediaDat.inc @@ -1,7 +1,7 @@ <?php /** * UserMediaDat Entity - * $Id: UserMediaDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: UserMediaDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/UserMessageDat.inc b/src/cn/compass/entity/UserMessageDat.inc index 6863a10..8387235 100644 --- a/src/cn/compass/entity/UserMessageDat.inc +++ b/src/cn/compass/entity/UserMessageDat.inc @@ -1,7 +1,7 @@ <?php /** * UserMessageDat Entity - * $Id: UserMessageDat.inc,v 1.1 2020/2/17 17:20:32 Exp $ + * $Id: UserMessageDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/UserMst.inc b/src/cn/compass/entity/UserMst.inc index bc20ff3..baed408 100644 --- a/src/cn/compass/entity/UserMst.inc +++ b/src/cn/compass/entity/UserMst.inc @@ -1,7 +1,7 @@ <?php /** * UserMst Entity - * $Id: UserMst.inc,v 1.1 2020/2/18 20:07:42 Exp $ + * $Id: UserMst.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -66,7 +66,7 @@ class UserMst extends CompassDynamicData $this->latitude = $record["latitude"]; $this->government_id = $record["government_id"]; $this->province = $record["province"]; - $this->city = $record["city"]; + $this->city = $record["city"]; $this->district = $record["district"]; $this->organization_submit_date = $record["organization_submit_date"]; $this->organization_no = $record["organization_no"]; diff --git a/src/cn/compass/entity/UserPointLog.inc b/src/cn/compass/entity/UserPointLog.inc index 13a82df..dbce9a6 100644 --- a/src/cn/compass/entity/UserPointLog.inc +++ b/src/cn/compass/entity/UserPointLog.inc @@ -1,7 +1,7 @@ <?php /** * UserPointLog Entity - * $Id: UserPointLog.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: UserPointLog.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public diff --git a/src/cn/compass/entity/VolunteerEventDat.inc b/src/cn/compass/entity/VolunteerEventDat.inc index 7c90409..725ef09 100644 --- a/src/cn/compass/entity/VolunteerEventDat.inc +++ b/src/cn/compass/entity/VolunteerEventDat.inc @@ -1,7 +1,7 @@ <?php /** * VolunteerEventDat Entity - * $Id: VolunteerEventDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: VolunteerEventDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -14,7 +14,13 @@ class VolunteerEventDat extends CompassDynamicData var $position; var $position_longitude; var $position_latitude; - var $scope; + var $author; + var $author_role; + var $school_id; + var $province; + var $city; + var $district; + var $include_social_user; var $max_member; var $time_length; var $leader_name; @@ -33,20 +39,26 @@ class VolunteerEventDat extends CompassDynamicData { parent::constructor($record); - $this->title = $record["title"]; - $this->start_time = $record["start_time"]; - $this->finish_time = $record["finish_time"]; - $this->position = $record["position"]; - $this->position_longitude = $record["position_longitude"]; - $this->position_latitude = $record["position_latitude"]; - $this->scope = $record["scope"]; - $this->max_member = $record["max_member"]; - $this->time_length = $record["time_length"]; - $this->leader_name = $record["leader_name"]; - $this->leader_contact = $record["leader_contact"]; - $this->venue = $record["venue"]; - $this->status = $record["status"]; - $this->delete_flg = $record["delete_flg"]; + $this->title = $record["title"]; + $this->start_time = $record["start_time"]; + $this->finish_time = $record["finish_time"]; + $this->position = $record["position"]; + $this->position_longitude = $record["position_longitude"]; + $this->position_latitude = $record["position_latitude"]; + $this->author = $record["author"]; + $this->author_role = $record["author_role"]; + $this->school_id = $record["school_id"]; + $this->province = $record["province"]; + $this->city = $record["city"]; + $this->district = $record["district"]; + $this->include_social_user = $record["include_social_user"]; + $this->max_member = $record["max_member"]; + $this->time_length = $record["time_length"]; + $this->leader_name = $record["leader_name"]; + $this->leader_contact = $record["leader_contact"]; + $this->venue = $record["venue"]; + $this->status = $record["status"]; + $this->delete_flg = $record["delete_flg"]; } /** @@ -116,7 +128,13 @@ class VolunteerEventDat extends CompassDynamicData ParamUtil::copyObj2Array($v_param, $this, "position"); ParamUtil::copyObj2Array($v_param, $this, "position_longitude"); ParamUtil::copyObj2Array($v_param, $this, "position_latitude"); - ParamUtil::copyObj2Array($v_param, $this, "scope"); + ParamUtil::copyObj2Array($v_param, $this, "author"); + ParamUtil::copyObj2Array($v_param, $this, "author_role"); + ParamUtil::copyObj2Array($v_param, $this, "school_id"); + ParamUtil::copyObj2ArrayNullField($v_param, $this, "province"); + ParamUtil::copyObj2ArrayNullField($v_param, $this, "city"); + ParamUtil::copyObj2ArrayNullField($v_param, $this, "district"); + ParamUtil::copyObj2Array($v_param, $this, "include_social_user"); ParamUtil::copyObj2Array($v_param, $this, "max_member"); ParamUtil::copyObj2Array($v_param, $this, "time_length"); ParamUtil::copyObj2Array($v_param, $this, "leader_name"); diff --git a/src/cn/compass/entity/VolunteerEventMemberDat.inc b/src/cn/compass/entity/VolunteerEventMemberDat.inc index 3def03f..c9a3c6c 100644 --- a/src/cn/compass/entity/VolunteerEventMemberDat.inc +++ b/src/cn/compass/entity/VolunteerEventMemberDat.inc @@ -1,7 +1,7 @@ <?php /** * VolunteerEventMemberDat Entity - * $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/14 16:39:17 Exp $ + * $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/22 11:26:51 Exp $ * @author zb * @package jp.compass.entity * @access public @@ -9,12 +9,17 @@ class VolunteerEventMemberDat extends CompassDynamicData { var $volunteer_event_id; + var $index_no; var $user_id; + var $circle_id; + var $mobile; var $comment; var $images; var $position; var $position_longitude; var $position_latitude; + var $role; + var $finish_time; var $status; var $delete_flg; @@ -29,12 +34,17 @@ class VolunteerEventMemberDat extends CompassDynamicData parent::constructor($record); $this->volunteer_event_id = $record["volunteer_event_id"]; + $this->index_no = $record["index_no"]; $this->user_id = $record["user_id"]; + $this->circle_id = $record["circle_id"]; + $this->mobile = $record["mobile"]; $this->comment = $record["comment"]; $this->images = $record["images"]; $this->position = $record["position"]; $this->position_longitude = $record["position_longitude"]; $this->position_latitude = $record["position_latitude"]; + $this->role = $record["role"]; + $this->finish_time = $record["finish_time"]; $this->status = $record["status"]; $this->delete_flg = $record["delete_flg"]; } @@ -101,12 +111,17 @@ class VolunteerEventMemberDat extends CompassDynamicData $v_param = array(); ParamUtil::copyObj2Array($v_param, $this, "volunteer_event_id"); + ParamUtil::copyObj2Array($v_param, $this, "index_no"); ParamUtil::copyObj2Array($v_param, $this, "user_id"); + ParamUtil::copyObj2Array($v_param, $this, "circle_id"); + ParamUtil::copyObj2Array($v_param, $this, "mobile"); ParamUtil::copyObj2Array($v_param, $this, "comment"); ParamUtil::copyObj2Array($v_param, $this, "images"); ParamUtil::copyObj2Array($v_param, $this, "position"); ParamUtil::copyObj2Array($v_param, $this, "position_longitude"); ParamUtil::copyObj2Array($v_param, $this, "position_latitude"); + ParamUtil::copyObj2Array($v_param, $this, "role"); + ParamUtil::copyObj2Array($v_param, $this, "finish_time"); ParamUtil::copyObj2Array($v_param, $this, "status"); ParamUtil::copyObj2Array($v_param, $this, "delete_flg"); -- libgit2 0.27.0