<?php

namespace App\Models;

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

class GuideTemplate extends BaseModel
{
    use HasFactory;
    protected $table = 'guide_template';

    const TYPE_PREPARE = 0;
    const TYPE_DECORATION = 1;
    const TYPE_CLEAN = 2;

    const STATUS_INIT = -1;
    const STATUS_CLOSE = 0;
    const STATUS_OPEN = 1;

    const NOT_EXIST = 0;
    const NOT_CHECK = 1;
    const IS_CHECK = 2;

    const TYPE_ARR = [
        self::TYPE_PREPARE => "准备日",
        self::TYPE_DECORATION => "装修日",
        self::TYPE_CLEAN => "清洁日",
    ];
    const TYPE_STR_ARR = [
        "准备日" => self::TYPE_PREPARE,
        "装修日" => self::TYPE_DECORATION,
        "清洁日" => self::TYPE_CLEAN,
    ];
}
