33 行
1.8 KiB
PHP
可执行文件
33 行
1.8 KiB
PHP
可执行文件
<?php
|
|
namespace Common\Model;
|
|
//[1.2.41]
|
|
class RetailMagicStoreModel extends BaseModel
|
|
{
|
|
protected $tableName = 'magic_store';
|
|
const ID ='id'; //int(11) NOT NULL AUTO_INCREMENT,
|
|
const STORE_ID ='storeid'; //int(11) DEFAULT NULL COMMENT '门店id',
|
|
const TITLE ='title'; // text COMMENT '魔方名称',
|
|
const MC_ID ='mc_id'; // int(11) DEFAULT NULL COMMENT '大图路径id',
|
|
const MC_ID_1 ='mc_id_1'; // int(11) DEFAULT NULL,
|
|
const MC_ID_2 ='mc_id_2'; // int(11) DEFAULT NULL,
|
|
const MC_ID_3 ='mc_id_3'; // int(11) DEFAULT NULL,
|
|
const MAGIC_TYPE ='magic_type'; // tinyint(1) DEFAULT '1' COMMENT '1有小图 0无小图',
|
|
const CHILD_IMG ='child_img'; //text COMMENT '主图路径',
|
|
const CHILD_IMG_1 ='child_img_1'; //text COMMENT '小图路径',
|
|
const CHILD_IMG_2 ='child_img_2'; //text,
|
|
const CHILD_IMG_3 ='child_img_3'; //text,
|
|
const URL ='url'; //text,
|
|
const URL_1 ='url_1'; //text,
|
|
const URL_2 ='url_2'; //text,
|
|
const URL_3 ='url_3'; //text,
|
|
const LINK_ID ='link_id'; //int(11) DEFAULT NULL,
|
|
const LINK_ID_1 ='link_id_1'; //int(11) DEFAULT NULL,
|
|
const LINK_ID_2 ='link_id_2'; //int(11) DEFAULT NULL,
|
|
const LINK_ID_3 ='link_id_3'; //int(11) DEFAULT NULL,
|
|
const STATUS ='status'; //tinyint(1) DEFAULT '1' COMMENT '1启用 0禁用',
|
|
const ADD_TIME ='addtime'; //varchar(11) DEFAULT NULL COMMENT '添加时间',
|
|
const CHILD_IMG_ID ='child_img_id'; //varchar(255) DEFAULT '0',
|
|
const CHILD_IMG_ID_1 ='child_img_id_1'; //varchar(255) DEFAULT '0',
|
|
const CHILD_IMG_ID_2 ='child_img_id_2'; //varchar(255) DEFAULT '0',
|
|
const CHILD_IMG_ID_3 ='child_img_id_3'; //varchar(255) DEFAULT '0',
|
|
} |