| 12345678910111213141516171819202122232425 | <?phpnamespace App\Model;use Illuminate\Database\Eloquent\Model;class PurchaseOrderInfoForOutBound extends Model{    protected $table = "purchase_order_info_for_outbound"; //指定表    const CREATED_AT = null;    const UPDATED_AT = null;    protected $dateFormat = 'U';    const is_not_use = 0;    const is_use = 1;    const type_one = 1;    const prefix = 'CGCk';    const prefix2 = 'SJZL';    const from_type_zero = 0; // 采购单    const from_type_one = 1;  // 盘点单    const from_type = [        self::from_type_zero,        self::from_type_one,    ];}
 |