Example #1
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('user' => array('getter' => function ($item) {
         return User::findOneByPk($item->user_id);
     }), 'action' => array('getter' => function ($item) {
         $all = AccessAction::find()->all(true);
         $all = array_group($all, 'id', true);
         return new AccessAction($all[$item->action_id]);
     }), 'type_text' => array('getter' => function ($item) {
         return self::$type_list[$item->type];
     })));
     parent::__construct($data);
 }
Example #2
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '主键', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'user_group_id' => array('alias' => '用户组', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'action_id' => array('alias' => '权限', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'type' => array('alias' => '类型', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '白名单', '1' => '黑名单'), 'entity' => true)));
     parent::__construct($data);
 }
Example #3
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'min' => 0, 'entity' => true), 'name' => array('alias' => '名称', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'description' => array('alias' => '描述', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '禁用', '1' => '启用'), 'entity' => true)));
     parent::__construct($data);
 }
Example #4
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'min' => 0, 'entity' => true), 'address' => array('alias' => '地址', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'user' => array('alias' => '用户名', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'password' => array('alias' => '密码', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'update_time' => array('alias' => '更新时间', 'type' => 'timestamp', 'length' => 0, 'required' => true, 'readonly' => true, 'default' => '', 'entity' => true), 'create_time' => array('alias' => '创建时间', 'type' => 'timestamp', 'length' => 0, 'required' => true, 'readonly' => true, 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'business_order_id' => array('alias' => '订单ID', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'earnest_money' => array('alias' => '已付定金', 'type' => 'float', 'length' => 10, 'precision' => 2, 'description' => '元', 'default' => 0.0, 'entity' => true), 'receipt_date' => array('alias' => '收款日期', 'type' => 'date', 'length' => 0, 'default' => null, 'entity' => true), 'pay_type_id' => array('alias' => '支付方式', 'type' => 'int', 'length' => 11, 'default' => 0, 'entity' => true), 'append_file_url' => array('alias' => '附件', 'type' => 'string', 'length' => 200, 'default' => '', 'entity' => true), 'delivery_date' => array('alias' => '交货日期', 'type' => 'date', 'length' => 0, 'required' => true, 'entity' => true), 'desc' => array('alias' => '备注', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'create_time' => array('alias' => '创建时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true)));
     parent::__construct($data);
 }
Example #6
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'entity' => true), 'contact_id' => array('alias' => 'contact_id', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'im_type' => array('alias' => 'im类型  QQ SKYPE MSN WECHAT', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'im_no' => array('alias' => 'Im 号码', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }
Example #7
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'store_id' => array('alias' => '仓库', 'type' => 'int', 'length' => 10, 'required' => true, 'min' => 0, 'entity' => true), 'goods_no' => array('alias' => '货号', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'goods_num' => array('alias' => '数量', 'type' => 'int', 'length' => 10, 'required' => true, 'min' => 0, 'entity' => true), 'confirm_num' => array('alias' => '确认数量', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'operate_type' => array('alias' => '操作', 'type' => 'enum', 'required' => true, 'options' => array('1' => '进仓', '2' => '出仓'), 'entity' => true), 'create_time' => array('alias' => '记录时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true)));
     parent::__construct($data);
 }
Example #8
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => '样品id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'image_url' => array('alias' => '图片URL', 'type' => 'string', 'length' => 200, 'default' => '', 'entity' => true)));
     parent::__construct($data);
 }
Example #9
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_no' => array('alias' => '货号', 'type' => 'string', 'length' => 45, 'required' => true, 'unique' => true, 'entity' => true), 'sample_type' => array('alias' => '样品类型', 'type' => 'enum', 'required' => true, 'options' => array('1' => '单件', '2' => '套件'), 'entity' => true), 'category_id' => array('alias' => '分类', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'chinese_name' => array('alias' => '中文名称', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'english_name' => array('alias' => '英文名称', 'type' => 'string', 'length' => 45, 'default' => '', 'entity' => true), 'key_words' => array('alias' => '关键字', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true), 'material_id' => array('alias' => '材质', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'tags' => array('alias' => '标签', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '草稿', '1' => '正常'), 'entity' => true)));
     parent::__construct($data);
 }
Example #10
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'department_id' => array('alias' => '部门ID', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'uid' => array('alias' => '用户id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'utype' => array('alias' => '用户类型 1:工人,2:用户', 'type' => 'int', 'length' => 1, 'required' => true, 'entity' => true), 'create_time' => array('alias' => '添加时间', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'create_by' => array('alias' => '操作用户id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'business_order_id' => array('alias' => '订单', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'sample_id' => array('alias' => '样品', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'sample_package_id' => array('alias' => '样品包装', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'sample_num' => array('alias' => '样品数量', 'type' => 'float', 'length' => 10, 'precision' => 2, 'default' => 0.0, 'entity' => true), 'sample_unit_price' => array('alias' => '样品单价', 'type' => 'float', 'length' => 10, 'precision' => 2, 'description' => '元', 'default' => 0.0, 'entity' => true)));
     parent::__construct($data);
 }
Example #12
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '包装方式', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => '样品ID', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'pack_name' => array('alias' => '包装名称', 'type' => 'string', 'length' => 200, 'default' => '', 'entity' => true), 'pack_desc' => array('alias' => '包装说明', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true), 'inner_box_length' => array('alias' => '内盒长', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'inner_box_width' => array('alias' => '内盒宽', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'inner_box_height' => array('alias' => '内盒高', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'inner_box_material_type' => array('alias' => '内盒材质', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '白盒', '2' => '单瓦', '3' => '双瓦'), 'entity' => true), 'inner_box_clapboard_material_type' => array('alias' => '内盒隔板材质', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '白盒', '2' => '单瓦', '3' => '双瓦'), 'entity' => true), 'inner_box_clapboard_transverse_num' => array('alias' => '内盒隔板横向数量', 'type' => 'int', 'length' => 11, 'min' => 0, 'default' => 0, 'entity' => true), 'inner_box_clapboard_vertical_num' => array('alias' => '内盒隔板竖向数量', 'type' => 'int', 'length' => 11, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_length' => array('alias' => '外盒长', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_width' => array('alias' => '外盒宽', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_height' => array('alias' => '外盒高', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'pack_percent' => array('alias' => '包装率', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'weight' => array('alias' => '净重', 'type' => 'float', 'length' => 0, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_place_left_right' => array('alias' => '外盒摆放左右', 'type' => 'int', 'length' => 11, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_place_front_back' => array('alias' => '外箱摆放前后', 'type' => 'int', 'length' => 11, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_place_up_down' => array('alias' => '外箱摆放上下', 'type' => 'int', 'length' => 11, 'min' => 0, 'default' => 0, 'entity' => true), 'outer_box_material_type' => array('alias' => '外盒材质', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '白盒', '2' => '单瓦', '3' => '双瓦'), 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'produce_order_id' => array('alias' => '样品生产单id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'sample_id' => array('alias' => '样品id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'produce_request' => array('alias' => '生产要求', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true), 'produce_num' => array('alias' => '生产数量', 'type' => 'int', 'length' => 45, 'required' => true, 'min' => 0, 'entity' => true), 'produce_process_state' => array('alias' => '生产工序状态', 'type' => 'int', 'length' => 10, 'default' => 0, 'entity' => true), 'produce_employee_id' => array('alias' => '当前生产用户', 'type' => 'int', 'length' => 11, 'default' => 0, 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '默认', '1' => '已完成'), 'entity' => true)));
     parent::__construct($data);
 }
Example #14
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'work_stage_id' => array('alias' => '流程', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'name' => array('alias' => '工序名称', 'type' => 'string', 'length' => 20, 'required' => true, 'entity' => true), 'ord' => array('alias' => '排序', 'type' => 'int', 'length' => 11, 'default' => 0, 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '禁用', '1' => '启用'), 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'customer_id' => array('alias' => 'customer_id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'type' => array('alias' => '资质证件类型', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '营业执照', '2' => '税务登记证', '3' => '制作机构代码证', '4' => '海关编码'), 'entity' => true), 'no' => array('alias' => '号码', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'append_file_url' => array('alias' => '附件地址', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }
Example #16
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => '样品ID', 'type' => 'int', 'length' => 10, 'required' => true, 'min' => 0, 'entity' => true), 'length' => array('alias' => '长', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'width' => array('alias' => '宽', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'height' => array('alias' => '高', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'volume' => array('alias' => '容积', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'weight' => array('alias' => '重量', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'technic_flow_id_list' => array('alias' => '工艺流程', 'type' => 'set', 'default' => null, 'options' => array('1' => '模具', '2' => '成型', '3' => '素烧', '4' => '釉下工艺', '5' => '釉烧', '6' => '釉上工艺', '7' => '烘烤', '8' => '包装'), 'entity' => true)));
     parent::__construct($data);
 }
Example #17
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'name' => array('alias' => '部门名称', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'parent_id' => array('alias' => '上级部门ID', 'type' => 'int', 'length' => 11, 'default' => 0, 'entity' => true), 'manager_id' => array('alias' => '部门负责人id', 'type' => 'int', 'length' => 11, 'default' => 0, 'entity' => true), 'stage_id' => array('alias' => '负责流程', 'type' => 'int', 'length' => 2, 'default' => 0, 'entity' => true), 'description' => array('alias' => '描述', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '禁用', '1' => '启用'), 'entity' => true)));
     parent::__construct($data);
 }
Example #18
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'user_group_id' => array('alias' => '用户组', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'name' => array('alias' => '用户名', 'type' => 'string', 'length' => 32, 'required' => true, 'unique' => true, 'entity' => true), 'password' => array('alias' => '密码', 'type' => 'string', 'length' => 32, 'required' => true, 'entity' => true), 'real_name' => array('alias' => '真实姓名', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'create_time' => array('alias' => '创建时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true), 'update_time' => array('alias' => '更新时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => '0000-00-00 00:00:00', 'entity' => true), 'last_login_time' => array('alias' => '最后登录时间', 'type' => 'datetime', 'length' => 0, 'default' => '0000-00-00 00:00:00', 'entity' => true), 'last_login_ip' => array('alias' => '最后登录IP', 'type' => 'string', 'length' => 15, 'default' => '', 'entity' => true), 'state' => array('alias' => '状态', 'type' => 'enum', 'default' => 0, 'options' => array('0' => '禁用', '1' => '启用'), 'entity' => true)));
     parent::__construct($data);
 }
Example #19
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'name' => array('alias' => '名称', 'type' => 'string', 'length' => 20, 'required' => true, 'entity' => true), 'symbol' => array('alias' => '货币符号', 'type' => 'string', 'length' => 10, 'required' => true, 'entity' => true), 'unit_name' => array('alias' => '货币单位', 'type' => 'string', 'length' => 10, 'required' => true, 'entity' => true)));
     parent::__construct($data);
 }
Example #20
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '工艺ID', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => 'SKU_id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'flow_id' => array('alias' => '流程', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'technic_desc' => array('alias' => '工艺描述', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'produce_order_id' => array('alias' => '生产单ID', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'customer_name' => array('alias' => '客户名称', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'address' => array('alias' => '邮寄地址', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'contact' => array('alias' => '联系人', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'phone' => array('alias' => '电话', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'deliver_date' => array('alias' => '邮寄时间', 'type' => 'date', 'length' => 0, 'required' => true, 'entity' => true), 'logistics_company' => array('alias' => '物流公司', 'type' => 'int', 'length' => 10, 'default' => 0, 'entity' => true), 'logistics_no' => array('alias' => '物流单号', 'type' => 'string', 'length' => 50, 'required' => true, 'entity' => true), 'fee_type' => array('alias' => '费用类型', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '寄方付', '2' => '收方付'), 'entity' => true), 'fee' => array('alias' => '物流费用', 'type' => 'double', 'length' => 10, 'precision' => 2, 'description' => '元', 'default' => 0.0, 'entity' => true), 'fee_currency_id' => array('alias' => '货币', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'update_time' => array('alias' => '更新时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => '0000-00-00 00:00:00', 'entity' => true), 'create_time' => array('alias' => '创建时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true)));
     parent::__construct($data);
 }
Example #22
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => '样品ID', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'mud_volume' => array('alias' => '泥浆体积', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'description' => 'ML', 'default' => 0.0, 'entity' => true), 'adobe_weight' => array('alias' => '土坯重量', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'description' => 'KG', 'default' => 0.0, 'entity' => true), 'color_glaze_id' => array('alias' => '色料釉料', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'flower_paper' => array('alias' => '花纸', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'shelf_no' => array('alias' => '货架展位', 'type' => 'string', 'length' => 20, 'default' => '', 'entity' => true)));
     parent::__construct($data);
 }
Example #23
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'min' => 0, 'entity' => true), 'level' => array('alias' => '´íÎ󼶱ð', 'type' => 'string', 'length' => 1, 'default' => 'v', 'entity' => true), 'tag' => array('alias' => '´íÎó±êÇ©', 'type' => 'string', 'length' => 500, 'default' => null, 'entity' => true), 'file' => array('alias' => 'Îļþ', 'type' => 'string', 'length' => 200, 'default' => null, 'entity' => true), 'line' => array('alias' => '³ö´íÎļþÐÐÊý', 'type' => 'int', 'length' => 5, 'min' => 0, 'default' => null, 'entity' => true), 'content' => array('alias' => 'ÄÚÈÝ', 'type' => 'string', 'length' => 255, 'default' => null, 'entity' => true), 'state' => array('alias' => '״̬£º0£ºÎ´È·ÈÏ£¬1£ºÒÑÈ·ÈÏ£¬2£ºÒÑ´¦Àí', 'type' => 'int', 'length' => 2, 'default' => 0, 'entity' => true), 'datetime' => array('alias' => 'ʱ¼ä', 'type' => 'datetime', 'length' => 0, 'required' => true, 'entity' => true)));
     parent::__construct($data);
 }
Example #24
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '主键', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'business_order_id' => array('alias' => '订单id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'note_content' => array('alias' => '便签内容', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'update_time' => array('alias' => '更新时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true), 'create_time' => array('alias' => '创建时间', 'type' => 'timestamp', 'length' => 0, 'readonly' => true, 'default' => time(), 'entity' => true)));
     parent::__construct($data);
 }
Example #25
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 10, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'request_url' => array('alias' => 'cgi请求url', 'type' => 'string', 'length' => 255, 'required' => true, 'entity' => true), 'params' => array('alias' => '请求参数', 'type' => 'string', 'length' => 500, 'default' => '', 'entity' => true), 'client_ip' => array('alias' => 'IP', 'type' => 'string', 'length' => 20, 'default' => null, 'entity' => true), 'locate_file' => array('alias' => '发起文件路径', 'type' => 'string', 'length' => 200, 'default' => '', 'entity' => true), 'locate_line' => array('alias' => '所在行数', 'type' => 'int', 'length' => 11, 'default' => null, 'entity' => true), 'run_time' => array('alias' => '运行时间', 'type' => 'int', 'length' => 11, 'required' => true, 'description' => '毫秒', 'entity' => true), 'create_time' => array('alias' => '记录创建时间', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true)));
     parent::__construct($data);
 }
Example #26
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '模具ID', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => 'sku_id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'sample_mould_category_id' => array('alias' => '模具分类', 'type' => 'int', 'length' => 10, 'required' => true, 'min' => 0, 'entity' => true), 'name' => array('alias' => '模具名称', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'weight' => array('alias' => '重量', 'type' => 'double', 'length' => 10, 'precision' => 2, 'min' => 0, 'default' => 0.0, 'entity' => true), 'mould_num' => array('alias' => '模具块数', 'type' => 'int', 'length' => 11, 'required' => true, 'min' => 0, 'entity' => true), 'product_num' => array('alias' => '产品数', 'type' => 'int', 'length' => 11, 'required' => true, 'min' => 0, 'entity' => true), 'freight_space' => array('alias' => '模具仓位', 'type' => 'string', 'length' => 50, 'default' => '', 'entity' => true)));
     parent::__construct($data);
 }
Example #27
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'customer_id' => array('alias' => '客户id', 'type' => 'int', 'length' => 11, 'required' => true, 'min' => 0, 'entity' => true), 'chinese_name' => array('alias' => '中文名', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'english_name' => array('alias' => '英文名', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'birthday' => array('alias' => '生日', 'type' => 'date', 'length' => 0, 'default' => '0000-00-00', 'entity' => true), 'office_position' => array('alias' => '职位', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'mobile' => array('alias' => '手机', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'tel' => array('alias' => '电话', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'email' => array('alias' => '邮箱', 'type' => 'string', 'length' => 45, 'default' => null, 'entity' => true), 'desc' => array('alias' => '备注', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => 'id', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'suite_sample_id' => array('alias' => 'suite_sample_id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'single_sample_id' => array('alias' => 'single_sample_id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true)));
     parent::__construct($data);
 }
Example #29
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '样品借出记录ID', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'entity' => true), 'sample_id' => array('alias' => '样品id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'apply_user_id' => array('alias' => '申请人id', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'create_time' => array('alias' => '申请时间', 'type' => 'int', 'length' => 11, 'required' => true, 'entity' => true), 'desc' => array('alias' => '备注说明', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }
Example #30
0
 public function __construct($data = array())
 {
     $this->setPropertiesDefine(array('id' => array('alias' => '员工', 'type' => 'int', 'length' => 11, 'primary' => true, 'required' => true, 'readonly' => true, 'min' => 0, 'entity' => true), 'employee_no' => array('alias' => '工号', 'type' => 'string', 'length' => 45, 'unique' => true, 'default' => '', 'entity' => true), 'name' => array('alias' => '姓名', 'type' => 'string', 'length' => 45, 'required' => true, 'entity' => true), 'pay_type' => array('alias' => '工资形式', 'type' => 'enum', 'default' => 1, 'options' => array('1' => '固定', '2' => '计时', '3' => '计件'), 'entity' => true), 'work_process' => array('alias' => '负责工序', 'type' => 'int', 'length' => 10, 'required' => true, 'entity' => true), 'id_card_number' => array('alias' => '身份证号', 'type' => 'string', 'length' => 45, 'default' => '', 'entity' => true), 'birthday' => array('alias' => '生日', 'type' => 'date', 'length' => 0, 'default' => null, 'entity' => true), 'address' => array('alias' => '地址', 'type' => 'text', 'length' => 0, 'required' => true, 'entity' => true), 'tel' => array('alias' => '电话', 'type' => 'string', 'length' => 45, 'default' => '', 'entity' => true), 'urgent_tel' => array('alias' => '紧急电话', 'type' => 'string', 'length' => 45, 'default' => '', 'entity' => true), 'state' => array('alias' => '是否在职', 'type' => 'enum', 'default' => 1, 'options' => array('0' => '离职', '1' => '在职'), 'entity' => true), 'entry_time' => array('alias' => '入职时间', 'type' => 'datetime', 'length' => 0, 'default' => null, 'entity' => true), 'leave_time' => array('alias' => '离职时间', 'type' => 'datetime', 'length' => 0, 'default' => null, 'entity' => true), 'note' => array('alias' => '备注', 'type' => 'text', 'length' => 0, 'default' => null, 'entity' => true)));
     parent::__construct($data);
 }