25 行
808 B
PHP
可执行文件
25 行
808 B
PHP
可执行文件
<?php
|
|
|
|
namespace Common\Model;
|
|
|
|
use Think\Model;
|
|
|
|
//[1.7.90]
|
|
|
|
/**
|
|
* 配送费设置表
|
|
* Class RetailDistributionModel
|
|
* @package Common\Model
|
|
*/
|
|
class RetailDistributionModel extends BaseModel
|
|
{
|
|
protected $tableName = 'retail_distribution';
|
|
|
|
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
|
|
const STORE_ID = 'storeid'; //int(11) DEFAULT NULL COMMENT '门店id',
|
|
const START = 'start'; //decimal(11,3) NOT NULL COMMENT '配送起始值',
|
|
const END = 'end'; //decimal(11,3) NOT NULL COMMENT '配送结束值',
|
|
const FEE = 'fee'; //decimal(10,2) NOT NULL COMMENT '区间价格',
|
|
const ADD_TIME = 'addtime'; //varchar(20) DEFAULT NULL COMMENT '添加时间',
|
|
const STATUS = 'status'; //tinyint(1) DEFAULT '1' COMMENT '1开启 2关闭',
|
|
} |