鼠笼管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.1 KiB

<?php
class CageSetModel extends Orm_Base{
public $table = 'cage_set';
public $field = array(
'id' => array('type' => "int(11)",'comment' => ''),
'line_num' => array('type' => "varchar(45)",'comment' => '笼位编号'),
'big_num_max' => array('type' => "varchar(45)",'comment' => '品系'),
'small_num_max' => array('type' => "int(11)",'comment' => '笼位类型 '),
'big_small_num' => array('type' => "varchar(255)",'comment' => '笼位颜色'),
'split_remind' => array('type' => "varchar(255)",'comment' => '实验室对应用户课题组'),
'timeout_split_remind' => array('type' => "varchar(255)",'comment' => '负责人id'),
'overload_remind' => array('type' => "varchar(255)",'comment' => '添加人id'),
'fight' => array('type' => "varchar(255)",'comment' => '二维码信息'),
'c_user_id' => array('type' => "int(11)",'comment' => '是否删除'),
);
public $pk = 'id';
7 months ago
public function getsetinfo($params){
$data = $this->field('*')->where('c_user_id='.$params['user_id'])->fRow();
return $data;
}
}