<?php

namespace App\Models\Master;

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

class Template extends Model
{
    use HasFactory;

    protected $table = 'ms_template';
    protected $primaryKey = 'MsTemplateId';
    protected $guarded = [];

    function dataset(){
        return $this->hasMany(\App\Models\Dataset::class, 'template_id');
    }
}
