<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use DB;


class Target extends Model
{
    use HasFactory, SoftDeletes;

    protected $table = 'target';

    protected $fillable = [
        'date',
        'branch',
        'model',
        'fuel_type',
        'target_type',
        'target_value',
        'team_id',
        'kec_name',
        'created_by',
        'updated_by',
        'created_at',
        'updated_at',
        'deleted_at'
    ];
    
    const WHOLESALE = 'wholesale';
    const RETAIL = 'retail';
}
