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

17 行
1.0 KiB
PHP
可执行文件

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<?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',
}