IndentNum.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class IndentNum.
  8. *
  9. * @package namespace App\Models;
  10. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum newModelQuery()
  11. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum newQuery()
  12. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum query()
  13. * @mixin \Eloquent
  14. * @property int $id
  15. * @property int $datestr 日期记录值
  16. * @property int $number 当前编号
  17. * @property int $max_num 已取最大数量
  18. * @property int $digits 填充位数
  19. * @property int $is_date 是否填充日志,0:否,1:是
  20. * @property int $type 类型
  21. * @property string $remark 备注
  22. * @property string $code_str 填充编号头信息
  23. * @property \Illuminate\Support\Carbon|null $created_at
  24. * @property \Illuminate\Support\Carbon|null $updated_at
  25. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereCodeStr($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereCreatedAt($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereDatestr($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereDigits($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereId($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereIsDate($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereMaxNum($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereNumber($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereRemark($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereType($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|IndentNum whereUpdatedAt($value)
  36. */
  37. class IndentNum extends Model implements Transformable
  38. {
  39. use TransformableTrait;
  40. /**
  41. * The attributes that are mass assignable.
  42. *
  43. * @var array
  44. */
  45. protected $guarded = ['id', 'updated_at', 'created_at'];
  46. }