HsnCode
extends Model
in package
Table of Contents
- $timestamps : mixed
- $casts : mixed
- $connection : mixed
- $fillable : mixed
- $table : mixed
- scopeOfDivision() : mixed
- Scopes
- scopeOfTags() : mixed
- scopeProduct() : mixed
- scopeService() : mixed
- boot() : void
- The "booting" method of the model.
Properties
$timestamps
public
mixed
$timestamps
= true
$casts
protected
mixed
$casts
= ['tags' => 'array', 'division' => \V360\Master\Enums\Product\Division::class, 'created_at' => 'datetime', 'updated_at' => 'datetime']
$connection
protected
mixed
$connection
= "master"
$fillable
protected
mixed
$fillable
= []
$table
protected
mixed
$table
= "product_hsn_codes"
Methods
scopeOfDivision()
Scopes
public
scopeOfDivision(mixed $query, mixed $division) : mixed
Parameters
- $query : mixed
- $division : mixed
Return values
mixed —scopeOfTags()
public
scopeOfTags(mixed $query, mixed $tags[, mixed $tagOp = 'OR' ]) : mixed
Parameters
- $query : mixed
- $tags : mixed
- $tagOp : mixed = 'OR'
Return values
mixed —scopeProduct()
public
scopeProduct(mixed $query) : mixed
Parameters
- $query : mixed
Return values
mixed —scopeService()
public
scopeService(mixed $query) : mixed
Parameters
- $query : mixed
Return values
mixed —boot()
The "booting" method of the model.
protected
static boot() : void