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

22 行
827 B
PHP
可执行文件

<?php
namespace Common\Model;
use Think\Model;
//[1.2.41]
/**
* 后台版本对应的最新应用版本信息
* Class VersionModel
* @package Common\Model
*/
class VersionModel extends BaseModel
{
protected $tableName = 'version';
const ID = 'id';//int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
const VERSION = 'version';//varchar(10) DEFAULT NULL COMMENT '版本信息,如1.0.1',
const LATEST_VERSION = 'latest_version';//varchar(10) DEFAULT NULL COMMENT '最新版本',
const BRANCH = 'branch';//varchar(32) DEFAULT NULL COMMENT '应用id信息',
const ADD_TIME = 'addtime';//varchar(11) DEFAULT NULL COMMENT '添加时间',
const PATH = 'path';//varchar(255) DEFAULT NULL COMMENT '更新包地址',
const NOTES = 'notes';//varchar(255) DEFAULT NULL COMMENT '更新版本更新',
}