init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Common\Model;
|
||||
//[1.2.41]
|
||||
class RetailReceiptModel extends BaseModel
|
||||
{
|
||||
protected $tableName = 'retail_receipt';
|
||||
const ID = 'id'; //int(11) NOT NULL AUTO_INCREMENT,
|
||||
const STORE_ID = 'storeid'; //int(11) NOT NULL DEFAULT '0' COMMENT '门店id',
|
||||
const NAME = 'name'; //varchar(255) NOT NULL DEFAULT '' COMMENT '小票名称',
|
||||
const STATUS = 'status'; //tinyint(1) NOT NULL DEFAULT '1' COMMENT '小票状态:1,正常,2,关闭,3,删除',
|
||||
const ADD_TIME = 'addtime'; //varchar(13) NOT NULL DEFAULT '0' COMMENT '小票设置时间',
|
||||
const SET = 'set'; // text NOT NULL COMMENT '小票设置详情:一条json数据。',
|
||||
const TYPE = 'type'; //tinyint(2) NOT NULL DEFAULT '1' COMMENT '小票类型(目前只提供该类型):1,收银小票,2,充值小票。',
|
||||
const WIDTH = 'width'; //smallint(4) NOT NULL DEFAULT '180' COMMENT '小票的宽',
|
||||
const PAPER_WIDTH = 'paperwidth'; //smallint(4) NOT NULL DEFAULT '58' COMMENT '小票纸宽,58,80',
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户