update sync server

This commit is contained in:
2020-12-15 10:55:54 +07:00
parent 8530a33542
commit fc347376d3
11 changed files with 15 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ use Yii;
* This is the model class for table "list_management".
*
* @property int $id
* @property int $code
* @property string $code
* @property string $type
* @property string $name
* @property string $image
@@ -33,8 +33,8 @@ class ListManagement extends \yii\db\ActiveRecord {
*/
public function rules() {
return [
[['type', 'name', 'gender', 'telephone', 'address', 'image'], 'string'],
[['birthday', 'time', 'code', 'last_modified'], 'integer'],
[['type', 'name', 'gender', 'telephone', 'address', 'image', 'code'], 'string'],
[['birthday', 'time', 'last_modified'], 'integer'],
];
}
@@ -44,7 +44,7 @@ class ListManagement extends \yii\db\ActiveRecord {
public function attributeLabels() {
return [
'id' => 'ID',
'code' => 'Code',
'code' => 'ID',
'type' => 'Type',
'name' => 'Name',
'image' => 'Registration Image',