芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/EstimateTemplate.php
$items * @property-read int|null $items_count * @property-read \App\Models\UnitType|null $units * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate newQuery() * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate query() * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereAddedBy($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereCalculateTax($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereClientComment($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereCurrencyId($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereDiscount($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereDiscountType($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereHash($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereInvoiceConvert($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereLastUpdatedBy($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereNote($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereSignatureApproval($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereSubTotal($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereTotal($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereUnitId($value) * @method static \Illuminate\Database\Eloquent\Builder|EstimateTemplate whereUpdatedAt($value) * @mixin \Eloquent */ class EstimateTemplate extends BaseModel { use HasCompany; protected $table = 'estimate_templates'; public function items(): HasMany { return $this->hasMany(EstimateTemplateItem::class, 'estimate_template_id'); } public function currency(): BelongsTo { return $this->belongsTo(Currency::class, 'currency_id'); } public function clients(): BelongsTo { return $this->belongsTo(ClientDetails::class); } public function units(): BelongsTo { return $this->belongsTo(UnitType::class, 'unit_id'); } }