Commit 0db125145a7b82ec86b2346140645307457fb5e8
1 parent
92520cd6
Exists in
2.8
and in
6 other branches
Model de estado civil
Showing
1 changed file
with
30 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,30 @@ |
1 | +<?php | |
2 | + | |
3 | +namespace App\Models; | |
4 | + | |
5 | +use Illuminate\Database\Eloquent\Model; | |
6 | + | |
7 | +class LegacyMaritalStatus extends Model | |
8 | +{ | |
9 | + /** | |
10 | + * @var string | |
11 | + */ | |
12 | + protected $table = 'cadastro.estado_civil'; | |
13 | + | |
14 | + /** | |
15 | + * @var string | |
16 | + */ | |
17 | + protected $primaryKey = 'ideciv'; | |
18 | + | |
19 | + /** | |
20 | + * @var array | |
21 | + */ | |
22 | + protected $fillable = [ | |
23 | + 'descricao', | |
24 | + ]; | |
25 | + | |
26 | + /** | |
27 | + * @var bool | |
28 | + */ | |
29 | + public $timestamps = false; | |
30 | +} | ... | ... |