<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class SampleCollection
 * 
 * @property int $id
 * @property string|null $collection_no
 * @property int|null $stock_id
 * @property float|null $qty
 * @property int|null $is_group_item
 * @property Carbon|null $datetime
 * @property int|null $added_by
 *
 * @package App\Models
 */
class SampleCollection extends Model
{
	protected $table = 'sample_collection';
	public $timestamps = false;

	protected $casts = [
		'stock_id' => 'int',
		'qty' => 'float',
		'is_group_item' => 'int',
		'datetime' => 'datetime',
		'added_by' => 'int'
	];

	protected $fillable = [
		'collection_no',
		'stock_id',
		'qty',
		'is_group_item',
		'datetime',
		'added_by'
	];
}
