| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- use App\Traits\ModelLogChanging;
- class TaskTransaction extends Model
- {
- use ModelLogChanging;
- protected $fillable = [
- "fm_station_id",
- "to_station_id",
- "material_box_id",
- "task_id",
- "commodity_id",
- "amount",
- "type",
- "status",
- "user_id",
- "mark"
- ];
- const STATUS = [
- 0 => "待做",
- 1 => "完成",
- 2 => "失败"
- ];
- const MARK = [
- 0 => "无",
- 1 => "缓存架半箱入库"
- ];
- }
|