PoMaterialList extends ActiveRecord uses JsonBehaviorTrait
This is the model class for table "po_material_list".
Table of Contents
Properties
- $description : string
- $dimensions : string
- $fk_product_order_detail : int
- $fkProductOrderDetail : ProductOrderDetail
- $id : int
- $material_type : string
- $name : string
- $quantity : int
- $supplier : string
- $total_price : float
- $type : string
- $unit : string
- $unit_price : float
- $uuid : string
Methods
- fields() : mixed
- {@inheritdoc}
- getFkProductOrderDetail() : ActiveQuery
- Gets query for [[FkProductOrderDetail]].
- getMaterialInfo() : mixed
- jsonDecode() : mixed
- jsonEncode() : void
- Desc método para codificar un array de datos a JSONSTRING,
- rules() : mixed
- {@inheritdoc}
- tableName() : mixed
- {@inheritdoc}
Properties
$description
public
string
$description
$dimensions
public
string
$dimensions
$fk_product_order_detail
public
int
$fk_product_order_detail
$fkProductOrderDetail
public
ProductOrderDetail
$fkProductOrderDetail
$id
public
int
$id
$material_type
public
string
$material_type
$name
public
string
$name
$quantity
public
int
$quantity
$supplier
public
string
$supplier
$total_price
public
float
$total_price
$type
public
string
$type
$unit
public
string
$unit
$unit_price
public
float
$unit_price
$uuid
public
string
$uuid
Methods
fields()
{@inheritdoc}
public
fields() : mixed
getFkProductOrderDetail()
Gets query for [[FkProductOrderDetail]].
public
getFkProductOrderDetail() : ActiveQuery
Return values
ActiveQuerygetMaterialInfo()
public
static getMaterialInfo(array<string|int, PoMaterialList> $poMaterialList) : mixed
Parameters
- $poMaterialList : array<string|int, PoMaterialList>
jsonDecode()
public
jsonDecode(mixed $attribute) : mixed
Parameters
- $attribute : mixed
jsonEncode()
Desc método para codificar un array de datos a JSONSTRING,
public
jsonEncode(mixed $attribute, mixed $value) : void
Parameters
- $attribute : mixed
- $value : mixed
rules()
{@inheritdoc}
public
rules() : mixed
tableName()
{@inheritdoc}
public
static tableName() : mixed