文件
mashangyoujiu/Application/Common/Model/RetailMagicCubeModel.class.php

16 行
622 B
PHP
可执行文件

<?php
namespace Common\Model;
//[1.2.41]
class RetailMagicCubeModel extends BaseModel
{
protected $tableName = 'magic_cube';
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
const NAME = 'name'; //text COMMENT '名称',
const URL = 'url'; //text,
const TYPE = 'type'; //tinyint(1) DEFAULT '1' COMMENT '1需要关联id 2不需要关联id',
const STATUS = 'status'; //tinyint(1) DEFAULT '0' COMMENT '1启用 0不启用',
const STATE = 'state'; //tinyint(1) DEFAULT '1' COMMENT '1正常 0删除',
const ADD_TIME = 'addtime'; //varchar(11) DEFAULT NULL COMMENT '添加时间',
}