'新增', self::State_one => '上架', self::State_two => '下架', ]; const range_function = 'productRangeNot'; const Product_attribute_zero = 0; const Product_attribute_one = 1; const Product_attribute_two = 2; const Product_attribute_three = 3; const Product_attribute_four = 4; const Product_attribute_five = 5; const Product_attribute_six = 6; public static $product_attribute = [ self::Product_attribute_zero => '无', self::Product_attribute_one => '其他', self::Product_attribute_two => '主推款', self::Product_attribute_three => '严选', self::Product_attribute_four => '热门畅销', self::Product_attribute_five => 'NEW', self::Product_attribute_six => '含税产品', ]; public static $product_attribute_color = [ self::Product_attribute_zero => [ 'background_color' => 'white', 'font_color' => 'black', ], self::Product_attribute_one => [ 'background_color' => 'white', 'font_color' => 'black', ], self::Product_attribute_two => [ 'background_color' => 'white', 'font_color' => 'black', ], self::Product_attribute_three => [ 'background_color' => 'white', 'font_color' => 'black', ], ]; const is_use_zero = 0; const is_use_one = 1; public static $is_use = [ self::is_use_zero => '停用', self::is_use_one => '启用', ]; public static $field = ['title','id','product_category_id','code','size','unit','bar_code','retail_price','cost','state','crt_id','crt_time','mark','depart_id','top_depart_id','install_time','product_attribute','is_use','build_fee','item_code','unit_2','main_number','second_number','warranty_time']; }